- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for geturl (0.24 sec)
-
istioctl/pkg/multicluster/remote_secret.go
if _, err := fmt.Fprint(out, outputHeader); err != nil { return err } if err := codec.Encode(in, out); err != nil { return err } if _, err := fmt.Fprint(out, outputTrailer); err != nil { return err } return nil } type writer interface { io.Writer String() string } func makeOutputWriter() writer { return &bytes.Buffer{} }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
return nil, fmt.Errorf("%s: %w", path, err) } return cniConfigMap, nil } // Given an unmarshalled CNI config JSON map, return the plugin list asserted as a []interface{} func GetPlugins(cniConfigMap map[string]any) (plugins []any, err error) { plugins, ok := cniConfigMap["plugins"].([]any) if !ok { err = fmt.Errorf("error reading plugin list from CNI config") return } return }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 3.6K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
switch common.outputFormat { case summaryOutput: return cw.PrintSecretSummary() case jsonOutput, yamlOutput: return cw.PrintSecretDump(common.outputFormat) default: return fmt.Errorf("output format %q not supported", common.outputFormat) } }), ValidArgsFunction: completion.ValidPodsNameArgs(ctx), } common.attach(cmd) return cmd }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 22.2K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
// the fake inode is the fd! magic. return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: uint64(fd)} } func newFakeNsInode(fd uintptr, inode uint64) *fakeNs { return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: inode} } // Fd returns the file descriptor func (f *fakeNs) Fd() uintptr { return f.fd } func (f *fakeNs) Inode() uint64 { return f.inode }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
if err != nil || !f { return false, err } if reflect.TypeOf(got.Node) != reflect.TypeOf(pv.value) { return false, fmt.Errorf("comparison types don't match: got %v(%T), want %v(%T)", got.Node, got.Node, pv.value, pv.value) } if !reflect.DeepEqual(got.Node, pv.value) { return false, fmt.Errorf("values don't match: got %v, want %v", got.Node, pv.value) } return true, nil }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
if err != nil { return err } if !response.Status.Allowed { if len(response.Status.Reason) > 0 { return errors.New(response.Status.Reason) } return errors.New("permission denied") } return nil } func checkServerVersion(cli kube.CLIClient) (diag.Messages, error) { v, err := cli.GetKubernetesVersion() if err != nil {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown subcommand %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args) return nil }, } cmd.AddCommand(injectorListCommand(cliContext)) return cmd } func injectorListCommand(ctx cli.Context) *cobra.Command {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
if err != nil { return nil, nil } uid, _, err := GetPodUIDAndContainerID(cgroupData) if err != nil { return nil, err } if filter != nil && !filter.Contains(uid) { return nil, nil } netns, err := proc.Open(netnsName) if err != nil { return nil, err } fd, err := GetFd(netns) if err != nil { netns.Close() return nil, err }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
return i.clients[rev], nil } func (i *instance) CLIClient() (kube.CLIClient, error) { return i.CLIClientWithRevision("") } func (i *instance) InferPodInfoFromTypedResource(name, namespace string) (pod string, ns string, err error) { client, err := i.CLIClient() if err != nil { return "", "", err } return handlers.InferPodInfoFromTypedResource(name, i.NamespaceOrDefault(namespace), MakeKubeFactory(client)) }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 6.4K bytes - Viewed (0) -
istioctl/pkg/version/version.go
} return remInfo, err } } func getProxyInfoWrapper(ctx cli.Context, opts *clioptions.ControlPlaneOptions) func() (*[]istioVersion.ProxyInfo, error) { return func() (*[]istioVersion.ProxyInfo, error) { client, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return nil, err } return proxy.GetProxyInfo(client, ctx.IstioNamespace()) } }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.3K bytes - Viewed (0)