Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getCode (0.21 sec)

  1. istioctl/pkg/writer/pilot/status.go

    			err := resource.UnmarshalTo(&clientConfig)
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err)
    			}
    			meta, err := model.ParseMetadata(clientConfig.GetNode().GetMetadata())
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not parse node metadata: %w", err)
    			}
    			if s.Namespace != "" && meta.Namespace != s.Namespace {
    				continue
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/podcgroupns_other.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	return 0, fmt.Errorf("unable to get inode os not supported")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 781 bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/configdump.go

    	const (
    		istioVersionKey  = "ISTIO_VERSION"
    		istioProxyShaKey = "ISTIO_PROXY_SHA"
    	)
    
    	md := bootstrapDump.GetBootstrap().GetNode().GetMetadata().GetFields()
    
    	if versionPB, ok := md[istioVersionKey]; ok {
    		version = versionPB.GetStringValue()
    	}
    	if shaPB, ok := md[istioProxyShaKey]; ok {
    		sha = shaPB.GetStringValue()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/podcgroupns_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    	"syscall"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
    		return stat.Ino, nil
    	}
    	return 0, fmt.Errorf("unable to get inode")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 814 bytes
    - Viewed (0)
  5. istioctl/pkg/injector/injector-list.go

    			if err != nil {
    				return err
    			}
    			hooks := hooksList.Items
    			pods, err := getPods(context.Background(), client)
    			if err != nil {
    				return err
    			}
    			err = printNS(cmd.OutOrStdout(), nslist, hooks, pods)
    			if err != nil {
    				return err
    			}
    			fmt.Fprintln(cmd.OutOrStdout())
    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)
  6. cni/pkg/nodeagent/podcgroupns.go

    	if !isProcess(entry) {
    		return nil, nil
    	}
    
    	netnsName := path.Join(entry.Name(), "ns", "net")
    	fi, err := fs.Stat(proc, netnsName)
    	if err != nil {
    		return nil, err
    	}
    
    	inode, err := GetInode(fi)
    	if err != nil {
    		return nil, err
    	}
    	if _, ok := netnsObserved[inode]; ok {
    		log.Debugf("netns: %d already processed. skipping", inode)
    		return nil, nil
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top