Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for apiv1 (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/api/scheduling/v1alpha1/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 v1alpha1
    
    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: Sun Nov 13 13:16:35 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/scheduling/v1beta1/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 v1beta1
    
    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: Sun Nov 13 13:16:35 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  10. plugin/pkg/admission/priority/admission.go

    		}
    	}
    	return defaultPC, nil
    }
    
    func (p *Plugin) getDefaultPriority() (string, int32, *apiv1.PreemptionPolicy, error) {
    	dpc, err := p.getDefaultPriorityClass()
    	if err != nil {
    		return "", 0, nil, err
    	}
    	if dpc != nil {
    		return dpc.Name, dpc.Value, dpc.PreemptionPolicy, nil
    	}
    	preemptLowerPriority := apiv1.PreemptLowerPriority
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 9K bytes
    - Viewed (0)
Back to top