Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the openfluxcd v1alpha1 API group +kubebuilder:object:generate=true +groupName=openfluxcd.openfluxcd
Index ¶
- Variables
- type Http
- func (in *Http) DeepCopy() *Http
- func (in *Http) DeepCopyInto(out *Http)
- func (in *Http) DeepCopyObject() runtime.Object
- func (in Http) GetConditions() []metav1.Condition
- func (in *Http) GetKind() string
- func (in *Http) GetObjectMeta() *metav1.ObjectMeta
- func (in *Http) SetConditions(conditions []metav1.Condition)
- type HttpList
- type HttpSpec
- type HttpStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "openfluxcd.openfluxcd", 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 Http ¶
type Http struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec HttpSpec `json:"spec,omitempty"`
Status HttpStatus `json:"status,omitempty"`
}
Http is the Schema for the https API
func (*Http) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Http.
func (*Http) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Http) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Http) GetConditions ¶
GetConditions returns the status conditions of the object.
func (*Http) GetObjectMeta ¶
func (in *Http) GetObjectMeta() *metav1.ObjectMeta
func (*Http) SetConditions ¶
SetConditions sets the status conditions on the object.
type HttpList ¶
type HttpList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Http `json:"items"`
}
HttpList contains a list of Http
func (*HttpList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpList.
func (*HttpList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HttpList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HttpSpec ¶
type HttpSpec struct {
// URL defines where to get the archive from.
// Expects the content to be tar.gz.
URL string `json:"url"`
}
HttpSpec defines the desired state of Http
func (*HttpSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpSpec.
func (*HttpSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttpStatus ¶
type HttpStatus struct {
// ObservedGeneration is the last reconciled generation.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// The last successfully applied revision.
// Equals the Revision of the applied Artifact from the referenced Source.
// +optional
LastAppliedRevision string `json:"lastAppliedRevision,omitempty"`
// LastAttemptedRevision is the revision of the last reconciliation attempt.
// +optional
LastAttemptedRevision string `json:"lastAttemptedRevision,omitempty"`
// ArtifactName present what the name of the generated artifact is.
ArtifactName string `json:"artifactName,omitempty"`
}
HttpStatus defines the observed state of Http
func (*HttpStatus) DeepCopy ¶
func (in *HttpStatus) DeepCopy() *HttpStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpStatus.
func (*HttpStatus) DeepCopyInto ¶
func (in *HttpStatus) DeepCopyInto(out *HttpStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.