- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for James (0.17 sec)
-
istioctl/pkg/authz/listener.go
buf.WriteString("ACTION\tAuthorizationPolicy\tRULES\n") for _, action := range []rbacpb.RBAC_Action{rbacpb.RBAC_DENY, rbacpb.RBAC_ALLOW, rbacpb.RBAC_LOG} { if names, ok := actionToPolicy[action]; ok { sortedNames := make([]string, 0, len(names)) for name := range names { sortedNames = append(sortedNames, name) } sort.Strings(sortedNames) for _, name := range sortedNames {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0) -
istioctl/pkg/writer/table/writer.go
} return output } func (c *ColoredTableWriter) SetAddRowFunc(f func(obj interface{}) Row) { c.addRowFunc = f } func (c *ColoredTableWriter) AddHeader(names ...string) { cells := make([]Cell, 0) for _, name := range names { cells = append(cells, NewCell(name)) } c.header = Row{Cells: cells} } func (c *ColoredTableWriter) AddRow(obj interface{}) { c.rows = append(c.rows, c.addRowFunc(obj))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Oct 08 04:41:42 GMT 2022 - 2.8K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
return waypointCmd } // deleteWaypoints handles the deletion of waypoints based on the provided names, or all if names is nil func deleteWaypoints(cmd *cobra.Command, kubeClient kube.CLIClient, namespace string, names []string) error { var multiErr *multierror.Error if names == nil { // If names is nil, delete all waypoints waypoints, err := kubeClient.GatewayAPI().GatewayV1().Gateways(namespace).
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
AmbientEnabled bool `json:"ambient_enabled"` Kubernetes Kubernetes `json:"kubernetes"` } // K8sArgs is the valid CNI_ARGS used for Kubernetes // The field names need to match exact keys in containerd args for unmarshalling // https://github.com/containerd/containerd/blob/ced9b18c231a28990617bc0a4b8ce2e81ee2ffa1/pkg/cri/server/sandbox_run.go#L526-L532 type K8sArgs struct { types.CommonArgs
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
func extendFQDN(host string) string { if host[0] == '*' { return host } if strings.HasSuffix(host, k8sSuffix) { return host } return host + k8sSuffix } // getDestRuleSubsets gets names of subsets that match any pod labels (also, ones that don't match). func getDestRuleSubsets(subsets []*v1alpha3.Subset, podsLabels []klabels.Set) ([]string, []string) { matchingSubsets := make([]string, 0, len(subsets))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
istioctl/pkg/config/config.go
root.Scope.Debugf("Config file %q", root.IstioConfig) return runList(c.OutOrStdout()) }, } return listCmd } func runList(writer io.Writer) error { // Sort flag names keys := make([]string, len(settableFlags)) i := 0 for key := range settableFlags { keys[i] = key i++ } sort.Strings(keys) w := new(tabwriter.Writer).Init(writer, 0, 8, 5, ' ', 0)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Jul 30 12:16:07 GMT 2023 - 3.1K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
// When Open returns an error, it should be of type *PathError // with the Op field set to "open", the Path field set to name, // and the Err field describing the problem. // // Open should reject attempts to open names that do not satisfy // ValidPath(name), returning a *PathError with Err set to // ErrInvalid or ErrNotExist. func (ffs *fakeFsWithFakeFds) Open(name string) (fs.File, error) { f, err := ffs.ReadDirFS.Open(name)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
// InferPodInfoFromTypedResource returns the pod name and namespace for the given typed resource InferPodInfoFromTypedResource(name, namespace string) (pod string, ns string, err error) // InferPodsFromTypedResource returns the pod names and namespace for the given typed resource InferPodsFromTypedResource(name, namespace string) ([]string, string, error) // Namespace returns the namespace specified by the user Namespace() string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 6.4K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
} o.objMap[h] = obj o.keySlice = append(o.keySlice, h) } // size reports the length of o. func (o *ObjectSet) size() int { return len(o.keySlice) } // nameMatches returns a subset of o where objects names match the given regex. func (o *ObjectSet) nameMatches(nameRegex string) *ObjectSet { ret := &ObjectSet{} for k, v := range o.objMap { _, _, objName := object.FromHash(k) m, err := regexp.MatchString(nameRegex, objName)
Go - Registered: Wed May 08 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
for _, r := range res.Items { if r.Spec.Group != gvk.KubernetesGateway.Group { continue } if !betaKinds.Contains(r.Spec.Names.Kind) { continue } versions := extractCRDVersions(&r) has := "none" if len(versions) > 0 { has = strings.Join(sets.SortedList(versions), ",") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0)