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 // 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
31 // Foo is an example field of XappDep. Edit xappdep_types.go to remove/update
32 Foo string `json:"foo,omitempty"`
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
41 //+kubebuilder:object:root=true
42 //+kubebuilder:subresource:status
44 // XappDep is the Schema for the xappdeps API
46 metav1.TypeMeta `json:",inline"`
47 metav1.ObjectMeta `json:"metadata,omitempty"`
49 Spec XappDepSpec `json:"spec,omitempty"`
50 Status XappDepStatus `json:"status,omitempty"`
53 //+kubebuilder:object:root=true
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"`
63 SchemeBuilder.Register(&XappDep{}, &XappDepList{})