Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getImpersonateConfig (0.14 sec)

  1. istioctl/pkg/cli/context.go

    			namespace:        ptr.Of[string](""),
    			istioNamespace:   ptr.Of[string](""),
    			defaultNamespace: "",
    		}
    	}
    	return &instance{
    		RootFlags: *rootFlags,
    	}
    }
    
    func (i *instance) getImpersonateConfig() rest.ImpersonationConfig {
    	impersonateConfig := rest.ImpersonationConfig{}
    	if len(*i.impersonate) > 0 {
    		impersonateConfig.UserName = *i.impersonate
    		impersonateConfig.UID = *i.impersonateUID
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top