Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for State (0.27 sec)

  1. istioctl/pkg/writer/compare/sds/util.go

    func (s *secretItemBuilder) Destination(dest string) SecretItemBuilder {
    	s.dest = dest
    	return s
    }
    
    // State sets the state of the secret on the agent or sidecar
    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
    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)
  2. cni/pkg/repair/repaircontroller.go

    		// successfully exited, we NEVER want to identify this pod as broken.
    		// If the pod is going to fail, the failure state will show up in
    		// LastTerminationState eventually.
    		if state := container.State.Terminated; state != nil {
    			if state.Reason == "Completed" || state.ExitCode == 0 {
    				continue
    			}
    		}
    
    		// Check the LastTerminationState struct for information about why the container
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. istioctl/pkg/admin/istiodconfig_test.go

    	tests := []struct {
    		name    string
    		state   flagState
    		want    string
    		wantErr bool
    	}{
    		{
    			name:    "resetState.run() should throw an error if the /scopej endpoint is missing",
    			state:   &resetState{client: ctrzClientNoScopejHandler},
    			wantErr: true,
    		},
    		{
    			name: "logLevelState.run() should throw an error if the /scopej endpoint is missing",
    			state: &logLevelState{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	for _, secret := range secretDump {
    		if strings.Contains(secret.State, "Unavailable") {
    			secret.State = "Unavailable"
    		}
    		if len(secret.CertChain) == 0 {
    			fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    				secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA(""))
    		} else {
    			for i, ca := range secret.CertChain {
    				t := "Intermediate"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. cni/pkg/repair/repair_test_helpers.go

    				{
    					Name: "payload-container",
    					State: corev1.ContainerState{
    						Waiting: &corev1.ContainerStateWaiting{
    							Reason: "PodInitializing",
    						},
    					},
    				},
    			},
    		},
    	}
    	return pod
    }
    
    // Container specs
    var (
    	brokenInitContainerWaiting = corev1.ContainerStatus{
    		Name: constants.ValidationContainerName,
    		State: corev1.ContainerState{
    			Waiting: &corev1.ContainerStateWaiting{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. istioctl/pkg/util/configdump/workload.go

    	Services     map[string]*ZtunnelService  `json:"by_vip"`
    	Certificates []*CertsDump                `json:"certificates"`
    }
    
    type CertsDump struct {
    	Identity  string  `json:"identity"`
    	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"`
    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)
  7. istioctl/pkg/util/configdump/listener.go

    	}
    
    	dal := make([]*admin.ListenersConfigDump_DynamicListener, 0)
    	for _, l := range listenerDump.DynamicListeners {
    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    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)
  8. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    // release notes for more information.
    // ControllerRevision implements an immutable snapshot of state data. Clients
    // are responsible for serializing and deserializing the objects that contain
    // their internal state.
    // Once a ControllerRevision has been successfully created, it can not be updated.
    // The API Server will fail validation of all requests that attempt to mutate
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // indicates an unknown state. In most cases consumers should interpret this
      // unknown state as ready. For compatibility reasons, ready should never be
      // "true" for terminating endpoints.
      // +optional
      optional bool ready = 1;
    
      // serving is identical to ready except that it is set regardless of the
      // terminating state of endpoints. This condition should be set to true for
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig.go

    	}
    }
    
    type istiodConfigLog struct {
    	state flagState
    }
    
    func (id *istiodConfigLog) execute(out io.Writer) error {
    	return id.state.run(out)
    }
    
    func chooseClientFlag(ctrzClient *ControlzClient, reset bool, outputLogLevel, stackTraceLevel, outputFormat string) *istiodConfigLog {
    	if reset {
    		return &istiodConfigLog{state: &resetState{ctrzClient}}
    	} else if outputLogLevel != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top