Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the forex v1alpha1 API group +kubebuilder:object:generate=true +groupName=forex.jannawro.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "forex.jannawro.dev", 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 ExchangeRate ¶
type ExchangeRate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ExchangeRateSpec `json:"spec,omitempty"` Status ExchangeRateStatus `json:"status,omitempty"` }
ExchangeRate is the Schema for the exchangerates API
func (*ExchangeRate) DeepCopy ¶
func (in *ExchangeRate) DeepCopy() *ExchangeRate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExchangeRate.
func (*ExchangeRate) DeepCopyInto ¶
func (in *ExchangeRate) DeepCopyInto(out *ExchangeRate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExchangeRate) DeepCopyObject ¶
func (in *ExchangeRate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExchangeRateList ¶
type ExchangeRateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ExchangeRate `json:"items"` }
ExchangeRateList contains a list of ExchangeRate
func (*ExchangeRateList) DeepCopy ¶
func (in *ExchangeRateList) DeepCopy() *ExchangeRateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExchangeRateList.
func (*ExchangeRateList) DeepCopyInto ¶
func (in *ExchangeRateList) DeepCopyInto(out *ExchangeRateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExchangeRateList) DeepCopyObject ¶
func (in *ExchangeRateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExchangeRateSpec ¶
type ExchangeRateSpec struct { BaseCurrency string `json:"baseCurrency,omitempty"` TargetCurrency string `json:"targetCurrency,omitempty"` }
ExchangeRateSpec defines the desired state of ExchangeRate
func (*ExchangeRateSpec) DeepCopy ¶
func (in *ExchangeRateSpec) DeepCopy() *ExchangeRateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExchangeRateSpec.
func (*ExchangeRateSpec) DeepCopyInto ¶
func (in *ExchangeRateSpec) DeepCopyInto(out *ExchangeRateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExchangeRateStatus ¶
type ExchangeRateStatus struct { Rate string `json:"rate,omitempty"` LastUpdated metav1.Time `json:"lastUpdated,omitempty"` }
ExchangeRateStatus defines the observed state of ExchangeRate
func (*ExchangeRateStatus) DeepCopy ¶
func (in *ExchangeRateStatus) DeepCopy() *ExchangeRateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExchangeRateStatus.
func (*ExchangeRateStatus) DeepCopyInto ¶
func (in *ExchangeRateStatus) DeepCopyInto(out *ExchangeRateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExchangeRateWatcher ¶
type ExchangeRateWatcher struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ExchangeRateWatcherSpec `json:"spec,omitempty"` Status ExchangeRateWatcherStatus `json:"status,omitempty"` }
ExchangeRateWatcher is the Schema for the exchangeratewatchers API
func (*ExchangeRateWatcher) DeepCopy ¶
func (in *ExchangeRateWatcher) DeepCopy() *ExchangeRateWatcher
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExchangeRateWatcher.
func (*ExchangeRateWatcher) DeepCopyInto ¶
func (in *ExchangeRateWatcher) DeepCopyInto(out *ExchangeRateWatcher)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExchangeRateWatcher) DeepCopyObject ¶
func (in *ExchangeRateWatcher) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExchangeRateWatcherList ¶
type ExchangeRateWatcherList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ExchangeRateWatcher `json:"items"` }
ExchangeRateWatcherList contains a list of ExchangeRateWatcher
func (*ExchangeRateWatcherList) DeepCopy ¶
func (in *ExchangeRateWatcherList) DeepCopy() *ExchangeRateWatcherList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExchangeRateWatcherList.
func (*ExchangeRateWatcherList) DeepCopyInto ¶
func (in *ExchangeRateWatcherList) DeepCopyInto(out *ExchangeRateWatcherList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExchangeRateWatcherList) DeepCopyObject ¶
func (in *ExchangeRateWatcherList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExchangeRateWatcherSpec ¶
type ExchangeRateWatcherSpec struct { BaseCurrency string `json:"baseCurrency,omitempty"` TargetCurrencies []string `json:"targetCurrencies,omitempty"` WatchIntervalSeconds int `json:"watchIntervalSeconds,omitempty"` }
ExchangeRateWatcherSpec defines the desired state of ExchangeRateWatcher
func (*ExchangeRateWatcherSpec) DeepCopy ¶
func (in *ExchangeRateWatcherSpec) DeepCopy() *ExchangeRateWatcherSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExchangeRateWatcherSpec.
func (*ExchangeRateWatcherSpec) DeepCopyInto ¶
func (in *ExchangeRateWatcherSpec) DeepCopyInto(out *ExchangeRateWatcherSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExchangeRateWatcherStatus ¶
ExchangeRateWatcherStatus defines the observed state of ExchangeRateWatcher
func (*ExchangeRateWatcherStatus) DeepCopy ¶
func (in *ExchangeRateWatcherStatus) DeepCopy() *ExchangeRateWatcherStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExchangeRateWatcherStatus.
func (*ExchangeRateWatcherStatus) DeepCopyInto ¶
func (in *ExchangeRateWatcherStatus) DeepCopyInto(out *ExchangeRateWatcherStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.