Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ExampleStatus (0.25 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplestatus.go

    // with apply.
    type ExampleStatusApplyConfiguration struct {
    	State   *v1.ExampleState `json:"state,omitempty"`
    	Message *string          `json:"message,omitempty"`
    }
    
    // ExampleStatusApplyConfiguration constructs an declarative configuration of the ExampleStatus type for use with
    // apply.
    func ExampleStatus() *ExampleStatusApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 10:01:37 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/v1/zz_generated.deepcopy.go

    func (in *ExampleStatus) DeepCopyInto(out *ExampleStatus) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleStatus.
    func (in *ExampleStatus) DeepCopy() *ExampleStatus {
    	if in == nil {
    		return nil
    	}
    	out := new(ExampleStatus)
    	in.DeepCopyInto(out)
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  3. pkg/controller/replication/replication_controller_utils_test.go

    		}
    	}
    )
    
    func TestGetCondition(t *testing.T) {
    	exampleStatus := status()
    
    	tests := []struct {
    		name string
    
    		status     v1.ReplicationControllerStatus
    		condType   v1.ReplicationControllerConditionType
    		condStatus v1.ConditionStatus
    		condReason string
    
    		expected bool
    	}{
    		{
    			name: "condition exists",
    
    			status:   *exampleStatus,
    			condType: v1.ReplicationControllerReplicaFailure,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 07 22:48:32 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/v1/types.go

    	metav1.ObjectMeta `json:"metadata"`
    
    	Spec   ExampleSpec   `json:"spec"`
    	Status ExampleStatus `json:"status,omitempty"`
    }
    
    // ExampleSpec is the spec for an Example resource
    type ExampleSpec struct {
    	Foo string `json:"foo"`
    	Bar bool   `json:"bar"`
    }
    
    // ExampleStatus is the status for an Example resource
    type ExampleStatus struct {
    	State   ExampleState `json:"state,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 05 09:07:27 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/utils.go

    		return &crv1.ExampleApplyConfiguration{}
    	case v1.SchemeGroupVersion.WithKind("ExampleSpec"):
    		return &crv1.ExampleSpecApplyConfiguration{}
    	case v1.SchemeGroupVersion.WithKind("ExampleStatus"):
    		return &crv1.ExampleStatusApplyConfiguration{}
    
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 10:01:37 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. pkg/controller/deployment/util/deployment_util_test.go

    		}
    	}
    )
    
    func TestGetCondition(t *testing.T) {
    	exampleStatus := status()
    
    	tests := []struct {
    		name string
    
    		status   apps.DeploymentStatus
    		condType apps.DeploymentConditionType
    
    		expected bool
    	}{
    		{
    			name: "condition exists",
    
    			status:   *exampleStatus,
    			condType: apps.DeploymentAvailable,
    
    			expected: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  7. pkg/controller/replicaset/replica_set_test.go

    		}
    	}
    )
    
    func TestGetCondition(t *testing.T) {
    	exampleStatus := status()
    
    	tests := []struct {
    		name string
    
    		status   apps.ReplicaSetStatus
    		condType apps.ReplicaSetConditionType
    
    		expected bool
    	}{
    		{
    			name: "condition exists",
    
    			status:   *exampleStatus,
    			condType: apps.ReplicaSetReplicaFailure,
    
    			expected: true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
Back to top