You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/certificate_retriever.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/configuration.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/dispatcher_modifier.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client.go
+13-3
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
3
4
4
// Package auth provides supporting functions and structs for authentication
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go
+9-3
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_delegation_token_provider.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go
+8-9
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/jwt.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_delegation_token_provider.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_key_provider.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_token_path_provider.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v1.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v3.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/utils.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go
+27-2
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
3
4
4
package common
5
5
6
6
import (
7
7
"fmt"
8
+
"math/rand"
8
9
"net/http"
9
10
"os"
10
11
"strconv"
@@ -29,6 +30,16 @@ const (
29
30
DefaultCircuitBreakerServiceNamestring=""
30
31
// DefaultCircuitBreakerHistoryCount is the default count of failed response history in circuit breaker
31
32
DefaultCircuitBreakerHistoryCountint=5
33
+
// MinAuthClientCircuitBreakerResetTimeout is the min value of openStateWindow, which is the wait time before setting the breaker to halfOpen state from open state
34
+
MinAuthClientCircuitBreakerResetTimeout=30
35
+
// MaxAuthClientCircuitBreakerResetTimeout is the max value of openStateWindow, which is the wait time before setting the breaker to halfOpen state from open state
36
+
MaxAuthClientCircuitBreakerResetTimeout=49
37
+
// AuthClientCircuitBreakerName is the default circuit breaker name for the DefaultAuthClientCircuitBreakerSetting
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/client.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
3
4
4
// Package common provides supporting functions and structs used by service packages
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/common.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/configuration.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/errors.go
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
3
4
4
package common
@@ -25,7 +25,7 @@ type ServiceError interface {
25
25
GetMessage() string
26
26
27
27
// A short error code that defines the error, meant for programmatic parsing.
28
-
// See https://docs.cloud.oracle.com/Content/API/References/apierrors.htm
28
+
// See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm
29
29
GetCode() string
30
30
31
31
// Unique Oracle-assigned identifier for the request.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/eventual_consistency.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/helpers.go
+25-16
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
1
+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2
2
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
3
4
4
//lint:file-ignore SA1019 older versions of staticcheck (those compatible with Golang 1.17) falsely flag x509.IsEncryptedPEMBlock and x509.DecryptPEMBlock.
0 commit comments