Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apps.cloudfoundry.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.cloudfoundry.org
Index ¶
Constants ¶
const ( SyncedConditionType = "Synced" CompletedConditionReason = "Completed" FailedConditionReason = "Failed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "apps.cloudfoundry.org", 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 Condition ¶
type Condition struct {
Type string `json:"type"`
Status ConditionStatus `json:"status"`
LastTransitionTime metav1.Time `json:"lastTransitionTime"`
Reason string `json:"reason"`
Message string `json:"message"`
}
Loosely following this KEP: https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1623-standardize-conditions Eventually we can update to use standard Kubernetes types
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionStatus ¶
type ConditionStatus string
const ( TrueConditionStatus ConditionStatus = "True" FalseConditionStatus ConditionStatus = "False" UnknownConditionStatus ConditionStatus = "Unknown" )
type PeriodicSync ¶
type PeriodicSync struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PeriodicSyncSpec `json:"spec,omitempty"`
Status PeriodicSyncStatus `json:"status,omitempty"`
}
PeriodicSync is the Schema for the periodicsyncs API
func (*PeriodicSync) DeepCopy ¶
func (in *PeriodicSync) DeepCopy() *PeriodicSync
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeriodicSync.
func (*PeriodicSync) DeepCopyInto ¶
func (in *PeriodicSync) DeepCopyInto(out *PeriodicSync)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PeriodicSync) DeepCopyObject ¶
func (in *PeriodicSync) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PeriodicSyncList ¶
type PeriodicSyncList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PeriodicSync `json:"items"`
}
PeriodicSyncList contains a list of PeriodicSync
func (*PeriodicSyncList) DeepCopy ¶
func (in *PeriodicSyncList) DeepCopy() *PeriodicSyncList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeriodicSyncList.
func (*PeriodicSyncList) DeepCopyInto ¶
func (in *PeriodicSyncList) DeepCopyInto(out *PeriodicSyncList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PeriodicSyncList) DeepCopyObject ¶
func (in *PeriodicSyncList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PeriodicSyncSpec ¶
type PeriodicSyncSpec struct {
PeriodSeconds int32 `json:"period_seconds"`
}
PeriodicSyncSpec defines the desired state of PeriodicSync
func (*PeriodicSyncSpec) DeepCopy ¶
func (in *PeriodicSyncSpec) DeepCopy() *PeriodicSyncSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeriodicSyncSpec.
func (*PeriodicSyncSpec) DeepCopyInto ¶
func (in *PeriodicSyncSpec) DeepCopyInto(out *PeriodicSyncSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeriodicSyncStatus ¶
type PeriodicSyncStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
Conditions []Condition `json:"conditions"`
}
PeriodicSyncStatus defines the observed state of PeriodicSync
func (*PeriodicSyncStatus) DeepCopy ¶
func (in *PeriodicSyncStatus) DeepCopy() *PeriodicSyncStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeriodicSyncStatus.
func (*PeriodicSyncStatus) DeepCopyInto ¶
func (in *PeriodicSyncStatus) DeepCopyInto(out *PeriodicSyncStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.