Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ComponentCondition (0.65 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentcondition.go

    	Error   *string                    `json:"error,omitempty"`
    }
    
    // ComponentConditionApplyConfiguration constructs an declarative configuration of the ComponentCondition type for use with
    // apply.
    func ComponentCondition() *ComponentConditionApplyConfiguration {
    	return &ComponentConditionApplyConfiguration{}
    }
    
    // WithType sets the Type field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. pkg/registry/core/componentstatus/rest.go

    	errorMsg := ""
    	if err != nil {
    		errorMsg = err.Error()
    	}
    
    	c := &api.ComponentCondition{
    		Type:    api.ComponentHealthy,
    		Status:  ToConditionStatus(status),
    		Message: msg,
    		Error:   errorMsg,
    	}
    
    	retVal := &api.ComponentStatus{
    		Conditions: []api.ComponentCondition{*c},
    	}
    	retVal.Name = name
    
    	return retVal
    }
    
    // Implement ShortNamesProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. pkg/registry/core/componentstatus/rest_test.go

    			}
    		},
    	}
    }
    
    func createTestStatus(name string, status api.ConditionStatus, msg string, err string) *api.ComponentStatus {
    	retVal := &api.ComponentStatus{
    		Conditions: []api.ComponentCondition{
    			{Type: api.ComponentHealthy, Status: status, Message: msg, Error: err},
    		},
    	}
    	retVal.Name = name
    	return retVal
    }
    
    func TestList_NoError(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*v1.ComponentCondition)(nil), (*core.ComponentCondition)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_ComponentCondition_To_core_ComponentCondition(a.(*v1.ComponentCondition), b.(*core.ComponentCondition), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  5. pkg/apis/core/zz_generated.deepcopy.go

    func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition.
    func (in *ComponentCondition) DeepCopy() *ComponentCondition {
    	if in == nil {
    		return nil
    	}
    	out := new(ComponentCondition)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition.
    func (in *ComponentCondition) DeepCopy() *ComponentCondition {
    	if in == nil {
    		return nil
    	}
    	out := new(ComponentCondition)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    	}{
    		// Basic component status without conditions
    		{
    			componentStatus: api.ComponentStatus{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "cs1",
    				},
    				Conditions: []api.ComponentCondition{},
    			},
    			// Columns: Name, Status, Message, Error
    			expected: []metav1.TableRow{{Cells: []interface{}{"cs1", "Unknown", "", ""}}},
    		},
    		// Basic component status with healthy condition.
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/generated.pb.go

    func (m *ComponentCondition) Reset()      { *m = ComponentCondition{} }
    func (*ComponentCondition) ProtoMessage() {}
    func (*ComponentCondition) Descriptor() ([]byte, []int) {
    	return fileDescriptor_6c07b07c062484ab, []int{19}
    }
    func (m *ComponentCondition) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ComponentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  9. pkg/apis/core/types.go

    type ComponentConditionType string
    
    // These are the valid conditions for the component.
    const (
    	ComponentHealthy ComponentConditionType = "Healthy"
    )
    
    // ComponentCondition represents the condition of a component
    type ComponentCondition struct {
    	Type   ComponentConditionType
    	Status ConditionStatus
    	// +optional
    	Message string
    	// +optional
    	Error string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/core/v1/generated.proto

      // Default value is 10800(for 3 hours).
      // +optional
      optional int32 timeoutSeconds = 1;
    }
    
    // Information about the condition of a component.
    message ComponentCondition {
      // Type of condition for a component.
      // Valid value: "Healthy"
      optional string type = 1;
    
      // Status of the condition for a component.
      // Valid values for "Healthy": "True", "False", or "Unknown".
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
Back to top