Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for apiv1 (0.04 sec)

  1. pkg/kubemark/controller.go

    	node, ok := newObj.(*apiv1.Node)
    	if !ok {
    		return
    	}
    	for _, condition := range node.Status.Conditions {
    		// Delete node if it is in unready state, and it has been
    		// explicitly marked for deletion.
    		if condition.Type == apiv1.NodeReady && condition.Status != apiv1.ConditionTrue {
    			kubemarkCluster.nodesToDeleteLock.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
  2. pkg/apis/scheduling/v1beta1/defaults_test.go

    	output := roundTrip(t, runtime.Object(priorityClass)).(*v1beta1.PriorityClass)
    	if output.PreemptionPolicy == nil || *output.PreemptionPolicy != apiv1.PreemptLowerPriority {
    		t.Errorf("Expected PriorityClass.Preempting value: %+v\ngot: %+v\n", apiv1.PreemptLowerPriority, output.PreemptionPolicy)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/resourceconfig/helpers_test.go

    	appsv1 "k8s.io/api/apps/v1"
    	apiv1 "k8s.io/api/core/v1"
    	extensionsapiv1beta1 "k8s.io/api/extensions/v1beta1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	serverstore "k8s.io/apiserver/pkg/server/storage"
    )
    
    func TestParseRuntimeConfig(t *testing.T) {
    	scheme := newFakeScheme(t)
    	apiv1GroupVersion := apiv1.SchemeGroupVersion
    	testCases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 18:36:33 UTC 2022
    - 25.2K bytes
    - Viewed (0)
  4. pkg/apis/scheduling/v1alpha1/defaults_test.go

    	output := roundTrip(t, runtime.Object(priorityClass)).(*v1alpha1.PriorityClass)
    	if output.PreemptionPolicy == nil || *output.PreemptionPolicy != apiv1.PreemptLowerPriority {
    		t.Errorf("Expected PriorityClass.Preempting value: %+v\ngot: %+v\n", apiv1.PreemptLowerPriority, output.PreemptionPolicy)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers.go

    		{Name: "Type", Type: "string", Description: apiv1.Event{}.SwaggerDoc()["type"]},
    		{Name: "Reason", Type: "string", Description: apiv1.Event{}.SwaggerDoc()["reason"]},
    		{Name: "Object", Type: "string", Description: apiv1.Event{}.SwaggerDoc()["involvedObject"]},
    		{Name: "Subobject", Type: "string", Priority: 1, Description: apiv1.Event{}.InvolvedObject.SwaggerDoc()["fieldPath"]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  6. pkg/apis/scheduling/v1beta1/defaults.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1beta1
    
    import (
    	apiv1 "k8s.io/api/core/v1"
    	"k8s.io/api/scheduling/v1beta1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. pkg/apis/scheduling/v1/defaults_test.go

    	priorityClass := &v1.PriorityClass{}
    
    	output := roundTrip(t, runtime.Object(priorityClass)).(*v1.PriorityClass)
    	if output.PreemptionPolicy == nil || *output.PreemptionPolicy != apiv1.PreemptLowerPriority {
    		t.Errorf("Expected PriorityClass.PreemptionPolicy value: %+v\ngot: %+v\n", apiv1.PreemptLowerPriority, output.PreemptionPolicy)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/scheduling/v1/types.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1
    
    import (
    	apiv1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    // +genclient
    // +genclient:nonNamespaced
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. pkg/apis/scheduling/v1/defaults.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1
    
    import (
    	apiv1 "k8s.io/api/core/v1"
    	v1 "k8s.io/api/scheduling/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. pkg/apis/scheduling/v1alpha1/defaults.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1alpha1
    
    import (
    	apiv1 "k8s.io/api/core/v1"
    	"k8s.io/api/scheduling/v1alpha1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top