@@ -24,76 +24,76 @@ import (
24
24
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
25
25
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
26
26
27
- // SpecificationSpec defines the desired state of Specification
28
- type SpecificationSpec struct {
27
+ // BundleSpec defines the desired state of Bundle
28
+ type BundleSpec struct {
29
29
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
30
30
// Important: Run "make" to regenerate code after modifying this file
31
31
32
- // DisplayName for the specification
32
+ // DisplayName for the bundle
33
33
DisplayName string `json:"displayName"`
34
34
35
- // Request CPU for the specification
35
+ // Request CPU for the bundle
36
36
RequestCPU resource.Quantity `json:"requestCPU"`
37
37
38
- // Request Memory for the specification
38
+ // Request Memory for the bundle
39
39
RequestMemory resource.Quantity `json:"requestMemory"`
40
40
41
- // Limit CPU for the specification
41
+ // Limit CPU for the bundle
42
42
LimitCPU resource.Quantity `json:"limitCPU"`
43
43
44
- // Limit Memory for the specification
44
+ // Limit Memory for the bundle
45
45
LimitMemory resource.Quantity `json:"limitMemory"`
46
46
47
- // Database capacity for the specification
47
+ // Database capacity for the bundle
48
48
DatabaseCapacity resource.Quantity `json:"databaseCapacity"`
49
49
50
- // Storage capacity for the specification
50
+ // Storage capacity for the bundle
51
51
StorageCapacity resource.Quantity `json:"storageCapacity"`
52
52
53
- // Network Bandwidth Outbound for the specification
53
+ // Network Bandwidth Outbound for the bundle
54
54
NetworkBandwidthOutbound resource.Quantity `json:"networkBandwidthOutbound,omitempty"`
55
55
56
- // Network Bandwidth Inbound for the specification
56
+ // Network Bandwidth Inbound for the bundle
57
57
NetworkBandwidthInbound resource.Quantity `json:"networkBandwidthInbound,omitempty"`
58
58
59
- // Network Traffic Outbound for the specification
59
+ // Network Traffic Outbound for the bundle
60
60
NetworkTrafficOutbound resource.Quantity `json:"networkTrafficOutbound"`
61
61
62
- // Priority for the specification .
63
- // The default value is 0, which means that the specification is not currently available for creating new applications.
62
+ // Priority for the bundle .
63
+ // The default value is 0, which means that the bundle is not currently available for creating new applications.
64
64
//+kubebuilder:validation:Minimum=0
65
65
//+kubebuilder:validation:Maximum=1000
66
66
//+kubebuilder:validation:Default=10
67
67
Priority int32 `json:"priority"`
68
68
}
69
69
70
- // SpecificationStatus defines the observed state of Specification
71
- type SpecificationStatus struct {
70
+ // BundleStatus defines the observed state of Bundle
71
+ type BundleStatus struct {
72
72
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
73
73
// Important: Run "make" to regenerate code after modifying this file
74
74
}
75
75
76
76
//+kubebuilder:object:root=true
77
77
//+kubebuilder:subresource:status
78
78
79
- // Specification is the Schema for the specifications API
80
- type Specification struct {
79
+ // Bundle is the Schema for the bundles API
80
+ type Bundle struct {
81
81
metav1.TypeMeta `json:",inline"`
82
82
metav1.ObjectMeta `json:"metadata,omitempty"`
83
83
84
- Spec SpecificationSpec `json:"spec,omitempty"`
85
- Status SpecificationStatus `json:"status,omitempty"`
84
+ Spec BundleSpec `json:"spec,omitempty"`
85
+ Status BundleStatus `json:"status,omitempty"`
86
86
}
87
87
88
88
//+kubebuilder:object:root=true
89
89
90
- // SpecificationList contains a list of Specification
91
- type SpecificationList struct {
90
+ // BundleList contains a list of Bundle
91
+ type BundleList struct {
92
92
metav1.TypeMeta `json:",inline"`
93
93
metav1.ListMeta `json:"metadata,omitempty"`
94
- Items []Specification `json:"items"`
94
+ Items []Bundle `json:"items"`
95
95
}
96
96
97
97
func init () {
98
- SchemeBuilder .Register (& Specification {}, & SpecificationList {})
98
+ SchemeBuilder .Register (& Bundle {}, & BundleList {})
99
99
}
0 commit comments