Removal of a committer
[ric-plt/ricdms.git] / xappKubernetesOperator / api / v1 / xappdep_types.go
1 /*
2 Copyright 2023.
3
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
7
8     http://www.apache.org/licenses/LICENSE-2.0
9
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.
15 */
16
17 package v1
18
19 import (
20         metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
21 )
22
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.
25
26 // XappDepSpec defines the desired state of XappDep
27 type XappDepSpec struct {
28         // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
29         // Important: Run "make" to regenerate code after modifying this file
30
31         // Foo is an example field of XappDep. Edit xappdep_types.go to remove/update
32         Foo string `json:"foo,omitempty"`
33 }
34
35 // XappDepStatus defines the observed state of XappDep
36 type XappDepStatus struct {
37         // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
38         // Important: Run "make" to regenerate code after modifying this file
39 }
40
41 //+kubebuilder:object:root=true
42 //+kubebuilder:subresource:status
43
44 // XappDep is the Schema for the xappdeps API
45 type XappDep struct {
46         metav1.TypeMeta   `json:",inline"`
47         metav1.ObjectMeta `json:"metadata,omitempty"`
48
49         Spec   XappDepSpec   `json:"spec,omitempty"`
50         Status XappDepStatus `json:"status,omitempty"`
51 }
52
53 //+kubebuilder:object:root=true
54
55 // XappDepList contains a list of XappDep
56 type XappDepList struct {
57         metav1.TypeMeta `json:",inline"`
58         metav1.ListMeta `json:"metadata,omitempty"`
59         Items           []XappDep `json:"items"`
60 }
61
62 func init() {
63         SchemeBuilder.Register(&XappDep{}, &XappDepList{})
64 }