Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=weatherservice.iqbal.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "weatherservice.iqbal.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type WeatherService ¶
type WeatherService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WeatherServiceSpec `json:"spec,omitempty"` Status WeatherServiceStatus `json:"status,omitempty"` }
WeatherService is the Schema for the weatherservices API
func (*WeatherService) DeepCopy ¶
func (in *WeatherService) DeepCopy() *WeatherService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeatherService.
func (*WeatherService) DeepCopyInto ¶
func (in *WeatherService) DeepCopyInto(out *WeatherService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WeatherService) DeepCopyObject ¶
func (in *WeatherService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WeatherServiceList ¶
type WeatherServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WeatherService `json:"items"` }
WeatherServiceList contains a list of WeatherService
func (*WeatherServiceList) DeepCopy ¶
func (in *WeatherServiceList) DeepCopy() *WeatherServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeatherServiceList.
func (*WeatherServiceList) DeepCopyInto ¶
func (in *WeatherServiceList) DeepCopyInto(out *WeatherServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WeatherServiceList) DeepCopyObject ¶
func (in *WeatherServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WeatherServiceSpec ¶
type WeatherServiceSpec struct { City string `json:"city,omitempty"` Days int `json:"days,omitempty"` }
WeatherServiceSpec defines the desired state of WeatherService
func (*WeatherServiceSpec) DeepCopy ¶
func (in *WeatherServiceSpec) DeepCopy() *WeatherServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeatherServiceSpec.
func (*WeatherServiceSpec) DeepCopyInto ¶
func (in *WeatherServiceSpec) DeepCopyInto(out *WeatherServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeatherServiceStatus ¶
type WeatherServiceStatus struct {
Executed bool `json:"executed,omitempty"`
}
WeatherServiceStatus defines the observed state of WeatherService
func (*WeatherServiceStatus) DeepCopy ¶
func (in *WeatherServiceStatus) DeepCopy() *WeatherServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeatherServiceStatus.
func (*WeatherServiceStatus) DeepCopyInto ¶
func (in *WeatherServiceStatus) DeepCopyInto(out *WeatherServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.