Documentation
¶
Overview ¶
Package argocd contains API Schema definitions for the argoproj.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=argoproj.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "argoproj.io", 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 Application ¶ added in v0.7.1
type Application struct { Status ApplicationStatus `json:"status,omitempty"` Spec ApplicationSpec `json:"spec"` metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` }
func (*Application) DeepCopy ¶ added in v0.7.1
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶ added in v0.7.1
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶ added in v0.7.1
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationList ¶ added in v0.7.1
type ApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Application `json:"items"` }
ApplicationList contains a list of ArgoCDApplications.
func (*ApplicationList) DeepCopy ¶ added in v0.7.1
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶ added in v0.7.1
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶ added in v0.7.1
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationSpec ¶
type ApplicationSpec struct {
SourceHydrator *SourceHydrator `json:"sourceHydrator,omitempty"`
}
func (*ApplicationSpec) DeepCopy ¶ added in v0.7.1
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶ added in v0.7.1
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationStatus ¶
type ApplicationStatus struct { Health HealthStatus `json:"health,omitempty"` Sync SyncStatus `json:"sync,omitempty"` }
func (*ApplicationStatus) DeepCopy ¶ added in v0.7.1
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶ added in v0.7.1
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DrySource ¶
type DrySource struct {
RepoURL string `json:"repoURL"`
}
func (*DrySource) DeepCopy ¶ added in v0.7.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DrySource.
func (*DrySource) DeepCopyInto ¶ added in v0.7.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthStatus ¶
type HealthStatus struct { LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Status HealthStatusCode `json:"status,omitempty"` }
HealthStatus contains information about the currently observed health state of an application or resource
func (*HealthStatus) DeepCopy ¶ added in v0.7.1
func (in *HealthStatus) DeepCopy() *HealthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthStatus.
func (*HealthStatus) DeepCopyInto ¶ added in v0.7.1
func (in *HealthStatus) DeepCopyInto(out *HealthStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthStatusCode ¶
type HealthStatusCode string
const ( HealthStatusUnknown HealthStatusCode = "Unknown" HealthStatusProgressing HealthStatusCode = "Progressing" HealthStatusHealthy HealthStatusCode = "Healthy" HealthStatusSuspended HealthStatusCode = "Suspended" HealthStatusDegraded HealthStatusCode = "Degraded" HealthStatusMissing HealthStatusCode = "Missing" )
type SourceHydrator ¶
type SourceHydrator struct { DrySource DrySource `json:"drySource"` SyncSource SyncSource `json:"syncSource"` }
func (*SourceHydrator) DeepCopy ¶ added in v0.7.1
func (in *SourceHydrator) DeepCopy() *SourceHydrator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceHydrator.
func (*SourceHydrator) DeepCopyInto ¶ added in v0.7.1
func (in *SourceHydrator) DeepCopyInto(out *SourceHydrator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncSource ¶
type SyncSource struct {
TargetBranch string `json:"targetBranch"`
}
func (*SyncSource) DeepCopy ¶ added in v0.7.1
func (in *SyncSource) DeepCopy() *SyncSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncSource.
func (*SyncSource) DeepCopyInto ¶ added in v0.7.1
func (in *SyncSource) DeepCopyInto(out *SyncSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncStatus ¶
type SyncStatus struct { Status SyncStatusCode `json:"status"` Revision string `json:"revision,omitempty"` }
func (*SyncStatus) DeepCopy ¶ added in v0.7.1
func (in *SyncStatus) DeepCopy() *SyncStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStatus.
func (*SyncStatus) DeepCopyInto ¶ added in v0.7.1
func (in *SyncStatus) DeepCopyInto(out *SyncStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncStatusCode ¶
type SyncStatusCode string
const ( SyncStatusCodeUnknown SyncStatusCode = "Unknown" SyncStatusCodeSynced SyncStatusCode = "Synced" SyncStatusCodeOutOfSync SyncStatusCode = "OutOfSync" )