Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for from (0.19 sec)

  1. istioctl/pkg/tag/util.go

    		nsNames[i] = ns.Name
    	}
    	return nsNames, nil
    }
    
    // GetWebhookTagName extracts tag name from webhook object.
    func GetWebhookTagName(wh admitv1.MutatingWebhookConfiguration) string {
    	return wh.ObjectMeta.Labels[IstioTagLabel]
    }
    
    // GetWebhookRevision extracts tag target revision from webhook object.
    func GetWebhookRevision(wh admitv1.MutatingWebhookConfiguration) (string, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  2. istioctl/pkg/writer/compare/sds/util.go

    func (s *secretItemBuilder) State(state string) SecretItemBuilder {
    	s.state = state
    	return s
    }
    
    // Build takes the set fields from the builder and constructs the actual SecretItem
    // including generating the SecretMeta from the supplied cert data, if present
    func (s *secretItemBuilder) Build() (SecretItem, error) {
    	result := SecretItem{
    		Name:        s.name,
    		Data:        s.data,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/revision.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/pkg/kube"
    )
    
    // PodFilteredInfo represents a small subset of fields from
    // Pod object in Kubernetes. Exposed for integration test
    type PodFilteredInfo struct {
    	Namespace string          `json:"namespace"`
    	Name      string          `json:"name"`
    	Address   string          `json:"address"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. cni/pkg/plugin/kubernetes.go

    		ProxyEnvironments: make(map[string]string),
    	}
    	for _, c := range containers(pod) {
    		pi.Containers.Insert(c.Name)
    		if c.Name == ISTIOPROXY {
    			// don't include ports from istio-proxy in the redirect ports
    			// Get proxy container env variable, and extract out ProxyConfig from it.
    			for _, e := range c.Env {
    				pi.ProxyEnvironments[e.Name] = e.Value
    			}
    			if len(c.Args) >= 2 && c.Args[0] == "proxy" {
    				pi.ProxyType = c.Args[1]
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag.go

    	overrideHelpStr = `If true, allow revision tags to be overwritten, otherwise reject revision tag updates that
    overwrite existing revision tags.`
    	revisionHelpStr = "Control plane revision to reference from a given revision tag"
    	tagCreatedStr   = `Revision tag %q created, referencing control plane revision %q. To enable injection using this
    revision tag, use 'kubectl label namespace <NAMESPACE> istio.io/rev=%s'
    `
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  6. istioctl/pkg/util/configdump/bootstrap.go

    // limitations under the License.
    
    package configdump
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    )
    
    // GetBootstrapConfigDump retrieves the bootstrap config dump from the ConfigDump
    func (w *Wrapper) GetBootstrapConfigDump() (*admin.BootstrapConfigDump, error) {
    	bootstrapDumpAny, err := w.getSection(bootstrap)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/workload.go

    	State     string  `json:"state"`
    	CertChain []*Cert `json:"cert_chain"`
    }
    
    type Cert struct {
    	Pem            string `json:"pem"`
    	SerialNumber   string `json:"serial_number"`
    	ValidFrom      string `json:"valid_from"`
    	ExpirationTime string `json:"expiration_time"`
    Go
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Fri Mar 22 16:24:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. istioctl/pkg/util/configdump/util.go

    	secrets   configTypeURL = "type.googleapis.com/envoy.admin.v3.SecretsConfigDump"
    	ecds      configTypeURL = "type.googleapis.com/envoy.admin.v3.EcdsConfigDump"
    )
    
    // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL
    func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) {
    	var dumpAny *anypb.Any
    	for _, conf := range w.Configs {
    		if conf.TypeUrl == string(sectionTypeURL) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/listener.go

    			dal[i].Name = "" // In Istio 1.5, Envoy creates this; suppress it
    		}
    	}
    	return &admin.ListenersConfigDump{DynamicListeners: dal}, nil
    }
    
    // GetListenerConfigDump retrieves the listener config dump from the ConfigDump
    func (w *Wrapper) GetListenerConfigDump() (*admin.ListenersConfigDump, error) {
    	listenerDumpAny, err := w.getSection(listeners)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  10. istioctl/pkg/validate/validate.go

    			fmt.Sprintf("%s/%s:", un.GetName(), un.GetNamespace()), objLabels)
    	}
    	return nil
    }
    
    // GetTemplateLabels returns spec.template.metadata.labels from Deployment
    func GetTemplateLabels(u *unstructured.Unstructured) (map[string]string, error) {
    	if spec, ok := u.Object["spec"].(map[string]any); ok {
    		if template, ok := spec["template"].(map[string]any); ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top