- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 1,387 for funcs (0.02 sec)
-
istioctl/pkg/util/configdump/util.go
ecds configTypeURL = "type.googleapis.com/envoy.admin.v3.EcdsConfigDump" ) // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) { var dumpAny *anypb.Any for _, conf := range w.Configs { if conf.TypeUrl == string(sectionTypeURL) { dumpAny = conf } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Dec 24 08:16:26 UTC 2023 - 2.1K bytes - Viewed (0) -
internal/config/lambda/event/arn_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "testing" ) func TestARNString(t *testing.T) { testCases := []struct { arn ARN expectedResult string }{ {ARN{}, ""}, {ARN{TargetID{"1", "webhook"}, ""}, "arn:minio:s3-object-lambda::1:webhook"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
// ---------- // Places a quota configuration on the specified bucket. The quota // specified in the quota configuration will be applied by default // to enforce total quota for the specified bucket. func (a adminAPIHandlers) PutBucketQuotaConfigHandler(w http.ResponseWriter, r *http.Request) { ctx := r.Context() objectAPI, _ := validateAdminReq(ctx, w, r, policy.SetBucketQuotaAdminAction) if objectAPI == nil { return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 33.2K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
s.namespaces.AddEventHandler(controllers.FromEventHandler(func(o controllers.Event) { s.queue.Add(o) })) return s } // GetPodIfAmbient looks up a pod. It returns: // * An error if the pod cannot be found // * nil if the pod is found, but does not have ambient enabled // * the pod, if it is found and ambient is enabled func (s *InformerHandlers) GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 11.7K bytes - Viewed (0) -
internal/crypto/error.go
// the string as a value that satisfies error of type crypto.Error func Errorf(format string, a ...interface{}) error { e := fmt.Errorf(format, a...) ee := Error{} ee.msg = e.Error() ee.cause = errors.Unwrap(e) return ee } // Unwrap the internal error. func (e Error) Unwrap() error { return e.cause } // Error 'error' compatible method. func (e Error) Error() string { if e.msg == "" { return "crypto: cause <nil>"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
) // Test S3 Bucket lifecycle APIs with wrong credentials func TestBucketLifecycleWrongCredentials(t *testing.T) { ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testBucketLifecycleHandlersWrongCredentials, endpoints: []string{"GetBucketLifecycle", "PutBucketLifecycle", "DeleteBucketLifecycle"}}) } // Test for authentication
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/os-readdir-common.go
count int // Follow directory symlink followDirSymlink bool } // Return all the entries at the directory dirPath. func readDir(dirPath string) (entries []string, err error) { return readDirWithOpts(dirPath, readDirOpts{count: -1}) } // Return up to count entries at the directory dirPath. func readDirN(dirPath string, count int) (entries []string, err error) { return readDirWithOpts(dirPath, readDirOpts{count: count})
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 09 23:20:51 UTC 2021 - 1.3K bytes - Viewed (0) -
istioctl/pkg/authz/authz_test.go
// limitations under the License. package authz import ( "fmt" "strings" "testing" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/util/testutil" ) func TestAuthz(t *testing.T) { cases := []testutil.TestCase{ { Args: []string{"-f fake.yaml"}, ExpectedOutput: "Error: failed to get config dump from file fake.yaml: open fake.yaml: no such file or directory\n",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 21 14:20:23 UTC 2023 - 1.4K bytes - Viewed (0) -
cmd/server-startup-msg_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "os" "reflect" "testing" ) // Tests stripping standard ports from apiEndpoints. func TestStripStandardPorts(t *testing.T) { apiEndpoints := []string{"http://127.0.0.1:9000", "http://127.0.0.2:80", "https://127.0.0.3:443"} expectedAPIEndpoints := []string{"http://127.0.0.1:9000", "http://127.0.0.2", "https://127.0.0.3"}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
expected: "example.com, www.example.com + 1 more...", }, } for _, tt := range tests { t.Run(tt.desc, func(t *testing.T) { if got := describeRouteDomains(tt.domains); got != tt.expected { t.Errorf("%s: expect %v got %v", tt.desc, tt.expected, got) } }) } } func TestPrintRoutesSummary(t *testing.T) { tests := []struct { name string }{ { name: "empty-gateway", }, {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 2.8K bytes - Viewed (0)