- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for ResourceClaimTemplateSpec (0.37 sec)
-
pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go
return &resource.ResourceClaimTemplate{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: namespace, }, Spec: resource.ResourceClaimTemplateSpec{ Spec: spec, }, } } func TestValidateClaimTemplate(t *testing.T) { validMode := resource.AllocationModeImmediate invalidMode := resource.AllocationMode("invalid") goodName := "foo"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 12.3K bytes - Viewed (0) -
pkg/apis/resource/v1alpha2/zz_generated.conversion.go
return err } if err := s.AddGeneratedConversionFunc((*v1alpha2.ResourceClaimTemplateSpec)(nil), (*resource.ResourceClaimTemplateSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1alpha2_ResourceClaimTemplateSpec_To_resource_ResourceClaimTemplateSpec(a.(*v1alpha2.ResourceClaimTemplateSpec), b.(*resource.ResourceClaimTemplateSpec), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 103.6K bytes - Viewed (0) -
pkg/registry/resource/resourceclaimtemplate/strategy_test.go
) var resourceClaimTemplate = &resource.ResourceClaimTemplate{ ObjectMeta: metav1.ObjectMeta{ Name: "valid-claim-template", Namespace: "default", }, Spec: resource.ResourceClaimTemplateSpec{ Spec: resource.ResourceClaimSpec{ ResourceClassName: "valid-class", AllocationMode: resource.AllocationModeImmediate, }, }, } func TestClaimTemplateStrategy(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:08:24 UTC 2022 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/zz_generated.deepcopy.go
func (in *ResourceClaimTemplateSpec) DeepCopyInto(out *ResourceClaimTemplateSpec) { *out = *in in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateSpec. func (in *ResourceClaimTemplateSpec) DeepCopy() *ResourceClaimTemplateSpec { if in == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 33.5K bytes - Viewed (0) -
common-protos/k8s.io/api/resource/v1alpha2/generated.proto
// Items is the list of resource claim templates. repeated ResourceClaimTemplate items = 2; } // ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. message ResourceClaimTemplateSpec { // ObjectMeta may contain labels and annotations that will be copied into the PVC // when creating it. No other fields are allowed and will be rejected during // validation. // +optional
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 14.4K bytes - Viewed (0) -
pkg/registry/resource/resourceclaimtemplate/storage/storage_test.go
return &resource.ResourceClaimTemplate{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: metav1.NamespaceDefault, }, Spec: resource.ResourceClaimTemplateSpec{ Spec: resource.ResourceClaimSpec{ ResourceClassName: "valid-class", AllocationMode: resource.AllocationModeImmediate, }, }, } } func TestCreate(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:08:24 UTC 2022 - 4.2K bytes - Viewed (0) -
pkg/apis/resource/zz_generated.deepcopy.go
func (in *ResourceClaimTemplateSpec) DeepCopyInto(out *ResourceClaimTemplateSpec) { *out = *in in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateSpec. func (in *ResourceClaimTemplateSpec) DeepCopy() *ResourceClaimTemplateSpec { if in == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 33.8K bytes - Viewed (0) -
pkg/apis/resource/types.go
// This field is immutable. A ResourceClaim will get created by the // control plane for a Pod when needed and then not get updated // anymore. Spec ResourceClaimTemplateSpec } // ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. type ResourceClaimTemplateSpec struct { // ObjectMeta may contain labels and annotations that will be copied into the PVC
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 22.3K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/generated.proto
// Items is the list of resource claim templates. repeated ResourceClaimTemplate items = 2; } // ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. message ResourceClaimTemplateSpec { // ObjectMeta may contain labels and annotations that will be copied into the PVC // when creating it. No other fields are allowed and will be rejected during // validation. // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 22:07:50 UTC 2024 - 26.2K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/generated.pb.go
var xxx_messageInfo_ResourceClaimTemplateList proto.InternalMessageInfo func (m *ResourceClaimTemplateSpec) Reset() { *m = ResourceClaimTemplateSpec{} } func (*ResourceClaimTemplateSpec) ProtoMessage() {} func (*ResourceClaimTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptor_4312f5b44a31ec02, []int{28} } func (m *ResourceClaimTemplateSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 261.9K bytes - Viewed (0)