- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for could (0.14 sec)
-
istioctl/pkg/writer/ztunnel/configdump/certificates.go
expDate, err := time.Parse(time.RFC3339, cert.ExpirationTime) if err != nil { log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err) return false } fromDate, err := time.Parse(time.RFC3339, cert.ValidFrom) if err != nil { log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ValidFrom, err) return false } if today.After(fromDate) && today.Before(expDate) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
var obj runtime.Object var ar *kube.AdmissionReview out, _, err := deserializer.Decode(body, nil, obj) if err != nil { return nil, fmt.Errorf("could not decode body: %v", err) } ar, err = kube.AdmissionReviewKubeToAdapter(out) if err != nil { return nil, fmt.Errorf("could not decode object: %v", err) } return ar.Response.Patch, nil } var ( runtimeScheme = func() *runtime.Scheme {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
istioctl/pkg/version/version.go
}, }, nil } cpID := xds.IstioControlPlaneInstance{} err = json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID) if err != nil { return nil, fmt.Errorf("could not parse CP Identifier: %w", err) } return &istioVersion.MeshInfo{ istioVersion.ServerInfo{ Component: cpID.Component, Info: cpID.Info, Revision: opts.Revision, }, }, nil
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) -
istioctl/pkg/tag/generate_test.go
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
portForwarder, err := client.NewPortForwarder(podName, ns, "", 0, controlzPort) if err != nil { return fmt.Errorf("could not build port forwarder for ControlZ %s: %v", podName, err) } defer portForwarder.Close() err = portForwarder.Start() if err != nil { return fmt.Errorf("could not start port forwarder for ControlZ %s: %v", podName, err) } ctrlzClient := &ControlzClient{ baseURL: &url.URL{
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 13.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
renameResources, selectResources, ignoreResources string, ) (bool, error) { a, err := os.ReadFile(args[0]) if err != nil { return false, fmt.Errorf("could not read %q: %v", args[0], err) } b, err := os.ReadFile(args[1]) if err != nil { return false, fmt.Errorf("could not read %q: %v", args[1], err) } diff, err := compare.ManifestDiffWithRenameSelectIgnore(string(a), string(b), renameResources, selectResources,
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
cni/pkg/repair/netns.go
// // Instead, we traverse the procfs. Comments on this method are inline. func getPodNetNs(pod *corev1.Pod) (string, error) { // First, find the network namespace id by looking the interface with the given Pod IP. // This could break on some platforms if they do not have an interface-per-pod. wantID, err := findNetworkIDByIP(pod.Status.PodIP) if err != nil { return "", fmt.Errorf("network id: %v", err) } fs, err := procfs.NewFS("/host/proc")
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
istioctl/cmd/istioctl/main.go
_ "k8s.io/client-go/plugin/pkg/client/auth" "istio.io/istio/istioctl/cmd" "istio.io/istio/pkg/log" ) func main() { if err := cmd.ConfigAndEnvProcessing(); err != nil { fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err) exitCode := cmd.GetExitCode(err) os.Exit(exitCode) } rootCmd := cmd.GetRootCmd(os.Args[1:]) log.EnableKlogWithCobra() if err := rootCmd.Execute(); err != nil {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 1.1K bytes - Viewed (0) -
cni/pkg/monitoring/monitoring.go
log.Errorf("unable to listen on socket: %v", err) return } exporter, err := monitoring.RegisterPrometheusExporter(nil, nil) if err != nil { log.Errorf("could not set up prometheus exporter: %v", err) return } mux.Handle(path, exporter) monitoringServer := &http.Server{ Handler: mux, } go func() {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jun 09 07:54:01 GMT 2023 - 1.5K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
func GetWebhookRevision(wh admitv1.MutatingWebhookConfiguration) (string, error) { if tagName, ok := wh.ObjectMeta.Labels[label.IoIstioRev.Name]; ok { return tagName, nil } return "", fmt.Errorf("could not extract tag revision from webhook") } // DeleteTagWebhooks deletes the given webhooks. func DeleteTagWebhooks(ctx context.Context, client kubernetes.Interface, tag string) error {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1)