4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
20 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
23 // EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
24 // NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
26 // RicPlatformSpec defines the desired state of RicPlatform
27 type RicPlatformSpec struct {
28 // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
29 // Important: Run "make" to regenerate code after modifying this file
31 // Foo is an example field of RicPlatform. Edit ricplatform_types.go to remove/update
32 Foo string `json:"foo,omitempty"`
35 // RicPlatformStatus defines the observed state of RicPlatform
36 type RicPlatformStatus struct {
37 // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
38 // Important: Run "make" to regenerate code after modifying this file
41 //+kubebuilder:object:root=true
42 //+kubebuilder:subresource:status
44 // RicPlatform is the Schema for the ricplatforms API
45 type RicPlatform struct {
46 metav1.TypeMeta `json:",inline"`
47 metav1.ObjectMeta `json:"metadata,omitempty"`
49 Spec RicPlatformSpec `json:"spec,omitempty"`
50 Status RicPlatformStatus `json:"status,omitempty"`
53 //+kubebuilder:object:root=true
55 // RicPlatformList contains a list of RicPlatform
56 type RicPlatformList struct {
57 metav1.TypeMeta `json:",inline"`
58 metav1.ListMeta `json:"metadata,omitempty"`
59 Items []RicPlatform `json:"items"`
63 SchemeBuilder.Register(&RicPlatform{}, &RicPlatformList{})