Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the meta v1alpha1 API group +kubebuilder:object:generate=true +groupName=meta.scaleway.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "meta.scaleway.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 Condition ¶
type Condition struct { // Type is the type of the condition. Type ConditionType `json:"type,omitempty"` // Status is the status of the condition. // Can be True, False, Unknown. Status corev1.ConditionStatus `json:"status,omitempty"` // Last time we probed the condition. LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // Unique, one-word, CamelCase reason for the condition's last transition. Reason string `json:"reason,omitempty"` // Human-readable message indicating details about last transition. Message string `json:"message,omitempty"` }
Condition contains details for the current condition of this Scaleway resource.
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 ConditionType ¶
type ConditionType string
ConditionType is a valid value for Conidtion.Type
const ( // Reconciled indicates whether the resource was successfully reconciled Reconciled ConditionType = "Reconciled" // Ready indicates whether the resource is considered ready Ready ConditionType = "Ready" )
type Status ¶
type Status struct {
Conditions []Condition `json:"conditions,omitempty"`
}
Status defines the observed state of a Scaleway resource
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Status) IsReconciled ¶
IsReconciled returns true is the Ready condition is True