- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for strconv (0.25 sec)
-
cni/pkg/plugin/sidecar_redirect.go
// parse and set the bool value of dnsRedirect redir.dnsRedirect, valErr = strconv.ParseBool(v) if valErr != nil { log.Warnf("cannot parse DNS capture environment variable %v", valErr) } } if v, found := pi.ProxyEnvironments["ISTIO_DUAL_STACK"]; found { // parse and set the bool value of dnsRedirect redir.dualStack, valErr = strconv.ParseBool(v) if valErr != nil {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
// See the License for the specific language governing permissions and // limitations under the License. package clusters import ( "encoding/json" "fmt" "io" "sort" "strconv" "strings" "text/tabwriter" admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" "sigs.k8s.io/yaml"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0) -
cni/pkg/repair/netns.go
package repair import ( "fmt" "math" "net" "strconv" netns "github.com/containernetworking/plugins/pkg/ns" "github.com/prometheus/procfs" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" corev1 "k8s.io/api/core/v1" "istio.io/istio/pkg/log" ) func getPidNamespace(pid int) string { return "/host/proc/" + strconv.Itoa(pid) + "/ns/net" }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
// See the License for the specific language governing permissions and // limitations under the License. package injector import ( "context" "fmt" "io" "sort" "strconv" "strings" "text/tabwriter" "github.com/spf13/cobra" admitv1 "k8s.io/api/admissionregistration/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
// limitations under the License. package workload import ( "context" "encoding/json" "fmt" "io" "os" "path/filepath" "sort" "strconv" "strings" "github.com/spf13/cobra" authenticationv1 "k8s.io/api/authentication/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "sigs.k8s.io/yaml"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
// See the License for the specific language governing permissions and // limitations under the License. package precheck import ( "context" "errors" "fmt" "strconv" "strings" "github.com/fatih/color" "github.com/spf13/cobra" "gopkg.in/yaml.v2" authorizationapi "k8s.io/api/authorization/v1" corev1 "k8s.io/api/core/v1"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
} } if len(routes) == 0 { return nil, fmt.Errorf("no routes found") } sort.Slice(routes, func(i, j int) bool { iName, err := strconv.Atoi(routes[i].Name) if err != nil { return false } jName, err := strconv.Atoi(routes[j].Name) if err != nil { return false } return iName < jName }) return routes, nil } func isPassthrough(action any) bool {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 7.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
// See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "encoding/json" "fmt" "sort" "strconv" "strings" "text/tabwriter" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" endpoint "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 5.6K bytes - Viewed (0) -
common/config/.golangci.yml
# default is false: such cases aren't reported by default. check-type-assertions: false # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`; # default is false: such cases aren't reported by default. check-blank: false govet: disable: # report about shadowed variables - shadow goimports:
Others - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 22 19:22:39 GMT 2024 - 11K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
// This is a sample chained plugin that supports multiple CNI versions. It // parses prevResult according to the cniVersion package plugin import ( "context" "encoding/json" "fmt" "runtime/debug" "strconv" "time" "github.com/containernetworking/cni/pkg/skel" "github.com/containernetworking/cni/pkg/types" cniv1 "github.com/containernetworking/cni/pkg/types/100" "github.com/containernetworking/cni/pkg/version"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0)