Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=argoproj.io
Index ¶
- Constants
- Variables
- type Application
- type ApplicationList
- type ApplicationSource
- type ApplicationSourceHelm
- type ApplicationSourceKustomize
- type ApplicationSources
- type ApplicationSpec
- type ApplicationStatus
- type Backoff
- type HealthStatus
- type HealthStatusCode
- type HelmParameter
- type Info
- type KustomizeImage
- type KustomizeImages
- type Operation
- type OperationInitiator
- type RefreshType
- type RetryStrategy
- type SyncOperation
- type SyncOptions
- type SyncPolicy
- type SyncStatus
- type SyncStatusCode
Constants ¶
const (
AnnotationKeyRefresh string = "argocd.argoproj.io/refresh"
)
Variables ¶
var ( GroupVersion = schema.GroupVersion{ Group: "argoproj.io", Version: "v1alpha1", } SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ApplicationSpec `json:"spec"` Status ApplicationStatus `json:"status,"` Operation *Operation `json:"operation,omitempty"` }
func GetApplication ¶
func GetApplication( ctx context.Context, ctrlRuntimeClient client.Client, namespace string, name string, ) (*Application, error)
GetApplication returns a pointer to the Argo CD Application resource specified by the namespace and name arguments. If no such resource is found, nil is returned instead.
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
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 ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationList ¶
type ApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Application `json:"items"` }
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
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 ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationSource ¶
type ApplicationSource struct { RepoURL string `json:"repoURL"` TargetRevision string `json:"targetRevision,omitempty"` Helm *ApplicationSourceHelm `json:"helm,omitempty"` Kustomize *ApplicationSourceKustomize `json:"kustomize,omitempty"` Chart string `json:"chart,omitempty"` }
func (*ApplicationSource) DeepCopy ¶
func (in *ApplicationSource) DeepCopy() *ApplicationSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSource.
func (*ApplicationSource) DeepCopyInto ¶
func (in *ApplicationSource) DeepCopyInto(out *ApplicationSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSourceHelm ¶
type ApplicationSourceHelm struct {
Parameters []HelmParameter `json:"parameters,omitempty"`
}
func (*ApplicationSourceHelm) DeepCopy ¶
func (in *ApplicationSourceHelm) DeepCopy() *ApplicationSourceHelm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSourceHelm.
func (*ApplicationSourceHelm) DeepCopyInto ¶
func (in *ApplicationSourceHelm) DeepCopyInto(out *ApplicationSourceHelm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSourceKustomize ¶
type ApplicationSourceKustomize struct {
Images KustomizeImages `json:"images,omitempty"`
}
func (*ApplicationSourceKustomize) DeepCopy ¶
func (in *ApplicationSourceKustomize) DeepCopy() *ApplicationSourceKustomize
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSourceKustomize.
func (*ApplicationSourceKustomize) DeepCopyInto ¶
func (in *ApplicationSourceKustomize) DeepCopyInto(out *ApplicationSourceKustomize)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSources ¶
type ApplicationSources []ApplicationSource
func (ApplicationSources) DeepCopy ¶
func (in ApplicationSources) DeepCopy() ApplicationSources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSources.
func (ApplicationSources) DeepCopyInto ¶
func (in ApplicationSources) DeepCopyInto(out *ApplicationSources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSpec ¶
type ApplicationSpec struct { Source *ApplicationSource `json:"source,omitempty"` SyncPolicy *SyncPolicy `json:"syncPolicy,omitempty"` Sources ApplicationSources `json:"sources,omitempty"` }
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
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 ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Backoff ¶
type Backoff struct { Duration string `json:"duration,omitempty"` Factor *int64 `json:"factor,omitempty"` MaxDuration string `json:"maxDuration,omitempty"` }
func (*Backoff) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backoff.
func (*Backoff) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthStatus ¶
type HealthStatus struct { Status HealthStatusCode `json:"status,omitempty"` Message string `json:"message,omitempty"` }
func (*HealthStatus) DeepCopy ¶
func (in *HealthStatus) DeepCopy() *HealthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthStatus.
func (*HealthStatus) DeepCopyInto ¶
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 HelmParameter ¶
type HelmParameter struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` }
func (*HelmParameter) DeepCopy ¶
func (in *HelmParameter) DeepCopy() *HelmParameter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmParameter.
func (*HelmParameter) DeepCopyInto ¶
func (in *HelmParameter) DeepCopyInto(out *HelmParameter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Info ¶
func (*Info) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Info.
func (*Info) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KustomizeImage ¶
type KustomizeImage string
type KustomizeImages ¶
type KustomizeImages []KustomizeImage
func (KustomizeImages) DeepCopy ¶
func (in KustomizeImages) DeepCopy() KustomizeImages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeImages.
func (KustomizeImages) DeepCopyInto ¶
func (in KustomizeImages) DeepCopyInto(out *KustomizeImages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Operation ¶
type Operation struct { Sync *SyncOperation `json:"sync,omitempty"` InitiatedBy OperationInitiator `json:"initiatedBy,omitempty"` Info []*Info `json:"info,omitempty"` Retry RetryStrategy `json:"retry,omitempty"` }
func (*Operation) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operation.
func (*Operation) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperationInitiator ¶
type OperationInitiator struct { Username string `json:"username,omitempty"` Automated bool `json:"automated,omitempty"` }
func (*OperationInitiator) DeepCopy ¶
func (in *OperationInitiator) DeepCopy() *OperationInitiator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationInitiator.
func (*OperationInitiator) DeepCopyInto ¶
func (in *OperationInitiator) DeepCopyInto(out *OperationInitiator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetryStrategy ¶
type RetryStrategy struct { Limit int64 `json:"limit,omitempty"` Backoff *Backoff `json:"backoff,omitempty"` }
func (*RetryStrategy) DeepCopy ¶
func (in *RetryStrategy) DeepCopy() *RetryStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryStrategy.
func (*RetryStrategy) DeepCopyInto ¶
func (in *RetryStrategy) DeepCopyInto(out *RetryStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncOperation ¶
type SyncOperation struct { SyncOptions SyncOptions `json:"syncOptions,omitempty"` Revisions []string `json:"revisions,omitempty"` }
func (*SyncOperation) DeepCopy ¶
func (in *SyncOperation) DeepCopy() *SyncOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOperation.
func (*SyncOperation) DeepCopyInto ¶
func (in *SyncOperation) DeepCopyInto(out *SyncOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncOptions ¶
type SyncOptions []string
func (SyncOptions) DeepCopy ¶
func (in SyncOptions) DeepCopy() SyncOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOptions.
func (SyncOptions) DeepCopyInto ¶
func (in SyncOptions) DeepCopyInto(out *SyncOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncPolicy ¶
type SyncPolicy struct { SyncOptions SyncOptions `json:"syncOptions,omitempty"` Retry *RetryStrategy `json:"retry,omitempty"` }
func (*SyncPolicy) DeepCopy ¶
func (in *SyncPolicy) DeepCopy() *SyncPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncPolicy.
func (*SyncPolicy) DeepCopyInto ¶
func (in *SyncPolicy) DeepCopyInto(out *SyncPolicy)
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"` Revisions []string `json:"revisions,omitempty"` }
func (*SyncStatus) DeepCopy ¶
func (in *SyncStatus) DeepCopy() *SyncStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStatus.
func (*SyncStatus) DeepCopyInto ¶
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 (
SyncStatusCodeSynced SyncStatusCode = "Synced"
)