package
0.0.0-20241031202925-3091d64cb3c4
Repository: https://github.com/cnoe-io/argocd-api.git
Documentation: pkg.go.dev
# Functions
NewEnvEntry parses a string in format name=value and returns an EnvEntry object.
NewHelmFileParameter parses a string in format name=value into a HelmFileParameter object and returns it.
NewHelmParameter parses a string in format name=value into a HelmParameter object and returns it.
NewJsonnetVar parses a Jsonnet variable from a string in the format name=value.
NewKustomizeReplica parses a string in format name=count into a KustomizeReplica object and returns it.
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
ToNestedMatrixGenerator converts a JSON struct (from the K8s resource) to corresponding NestedMatrixGenerator object.
ToNestedMergeGenerator converts a JSON struct (from the K8s resource) to corresponding NestedMergeGenerator object.
UnmarshalToUnstructured unmarshals a resource representation in JSON to unstructured data.
# Constants
ApplicationConditionComparisonError indicates controller failed to compare application state.
ApplicationConditionDeletionError indicates that controller failed to delete application.
ApplicationConditionExcludedResourceWarning indicates that application has resource which is configured to be excluded.
ApplicationConditionInvalidSpecError indicates that application source is invalid.
ApplicationConditionOrphanedResourceWarning indicates that application has orphaned resources.
ApplicationConditionRepeatedResourceWarning indicates that application source has resource with same Group, Kind, Name, Namespace multiple times.
ApplicationConditionSharedResourceWarning indicates that controller detected resources which belongs to more than one application.
ApplicationConditionSyncError indicates controller failed to automatically sync the application.
ApplicationConditionUnknownError indicates an unknown controller error.
ErrorOccurred / ParametersGenerated / TemplateRendered / ResourcesUpToDate.
ErrorOccurred / ParametersGenerated / TemplateRendered / ResourcesUpToDate.
ErrorOccurred / ParametersGenerated / TemplateRendered / ResourcesUpToDate.
ErrorOccurred / ParametersGenerated / TemplateRendered / ResourcesUpToDate.
ApplicationSetConditionStatusFalse indicates that a application attempt has failed.
ApplicationSetConditionStatusTrue indicates that a application has been successfully established.
ApplicationSetConditionStatusUnknown indicates that the application condition status could not be reliably determined.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
sync / create-only / create-update / create-delete.
sync / create-only / create-update / create-delete.
sync / create-only / create-update / create-delete.
sync / create-only / create-update / create-delete.
ConnectionStatusFailed indicates that a connection attempt has failed.
ConnectionStatusSuccessful indicates that a connection has been successfully established.
ConnectionStatusUnknown indicates that the connection status could not be reliably determined.
No description provided by the author
No description provided by the author
SyncStatusCodeOutOfSync indicates that there is a drift between desired and live states.
SyncStatusCodeOutOfSync indicates that desired and live states match.
SyncStatusCodeUnknown indicates that the status of a sync could not be reliably determined.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SchemeGroupVersion is group version used to register these objects.
# Structs
Application is a definition of Application resource.
ApplicationCondition contains details about an application condition, which is usually an error or warning +kubebuilder:object:generate=true.
ApplicationDestination holds information about the application's destination.
ApplicationList is list of Application resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
+kubebuilder:object:generate=true.
+kubebuilder:object:generate=true.
ApplicationSet is a set of Application resources +genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:path=applicationsets,shortName=appset;appsets +kubebuilder:subresource:status +kubebuilder:object:root=true.
ApplicationSetApplicationStatus contains details about each Application managed by the ApplicationSet +kubebuilder:object:generate=true.
ApplicationSetCondition contains details about an applicationset condition, which is usually an error or warning +kubebuilder:object:generate=true.
ApplicationSetGenerator represents a generator at the top level of an ApplicationSet.
ApplicationSetList contains a list of ApplicationSet +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true.
ApplicationSetNestedGenerator represents a generator nested within a combination-type generator (MatrixGenerator or MergeGenerator).
ApplicationSetResourceIgnoreDifferences configures how the ApplicationSet controller will ignore differences in live applications when applying changes from generated applications.
+kubebuilder:object:generate=true.
+kubebuilder:object:generate=true.
ApplicationSetSpec represents a class of application set state.
ApplicationSetStatus defines the observed state of ApplicationSet +kubebuilder:object:generate=true.
ApplicationSetStrategy configures how generated Applications are updated in sequence.
ApplicationSetSyncPolicy configures how generated Applications will relate to their ApplicationSet.
ApplicationSetTemplate represents argocd ApplicationSpec +kubebuilder:object:generate=true.
ApplicationSetTemplateMeta represents the Argo CD application fields that may be used for Applications generated from the ApplicationSet (based on metav1.ObjectMeta) +kubebuilder:object:generate=true.
ApplicationSetTerminalGenerator represents a generator nested within a nested generator (for example, a list within a merge within a matrix).
ApplicationSetTree holds nodes which belongs to the application Used to build a tree of an ApplicationSet and its children +kubebuilder:object:generate=true.
ApplicationSource contains all required information about the source of an application +kubebuilder:object:generate=true.
ApplicationSourceDirectory holds options for applications of type plain YAML or Jsonnet +kubebuilder:object:generate=true.
ApplicationSourceHelm holds helm specific options +kubebuilder:object:generate=true.
ApplicationSourceJsonnet holds options specific to applications of type Jsonnet +kubebuilder:object:generate=true.
ApplicationSourceKustomize holds options specific to an Application source specific to Kustomize +kubebuilder:object:generate=true.
ApplicationSourcePlugin holds options specific to config management plugins +kubebuilder:object:generate=true.
+kubebuilder:object:generate=true.
ApplicationSpec represents desired application state.
ApplicationStatus contains status information for the application +kubebuilder:object:generate=true.
ApplicationSummary contains information about URLs and container images used by an application +kubebuilder:object:generate=true.
ApplicationTree holds nodes which belongs to the application TODO: describe purpose of this type.
ApplicationWatchEvent contains information about application change.
AppProject provides a logical grouping of applications, providing controls for: * where the apps may deploy to (cluster whitelist) * what may be deployed (repository whitelist, resource whitelist/blacklist) * who can access these applications (roles, OIDC group claims bindings) * and what they can do (RBAC policies) * automation access to these roles (JWT tokens) +kubebuilder:object:root=true +kubebuilder:subresource:status.
AppProjectList is list of AppProject resources +kubebuilder:object:root=true.
AppProjectSpec is the specification of an AppProject +kubebuilder:object:generate=true.
AppProjectStatus contains status information for AppProject CRs +kubebuilder:object:generate=true.
AWSAuthConfig is an AWS IAM authentication configuration.
Backoff is the backoff strategy to use on subsequent retries for failing syncs +kubebuilder:object:generate=true.
BasicAuthBitbucketServer defines the username/(password or personal access token) for Basic auth.
BearerTokenBitbucketCloud defines the Bearer token for BitBucket AppToken auth.
ChartDetails contains helm chart metadata for a specific version.
Cluster is the definition of a cluster resource.
ClusterCacheInfo contains information about the cluster cache.
ClusterConfig is the configuration attributes.
ClusterGenerator defines a generator to match against clusters registered with ArgoCD.
ClusterInfo contains information about the cluster.
ClusterList is a collection of Clusters.
Command holds binary path and arguments list.
ComparedTo contains application source and target which was used for resources comparison +kubebuilder:object:generate=true.
ComponentParameter contains information about component parameter value.
ConfigManagementPlugin contains config management plugin configuration.
ConnectionState contains information about remote resource connection state, currently used for clusters and repositories.
DuckType defines a generator to match against clusters registered with ArgoCD.
EnvEntry represents an entry in the application's environment.
ExecProviderConfig is config used to call an external command to perform cluster authentication See: https://godoc.org/k8s.io/client-go/tools/clientcmd/api#ExecConfig.
+kubebuilder:object:generate=true.
+kubebuilder:object:generate=true.
+kubebuilder:object:generate=true.
GnuPGPublicKey is a representation of a GnuPG public key.
GnuPGPublicKeyList is a collection of GnuPGPublicKey objects.
HealthStatus contains information about the currently observed health state of an application or resource.
HelmFileParameter is a file parameter that's passed to helm template during manifest generation.
HelmOptions holds helm options.
HelmParameter is a parameter that's passed to helm template during manifest generation.
HostInfo holds host name and resources metrics TODO: describe purpose of this type TODO: describe members of this type.
TODO: describe this type.
No description provided by the author
InfoItem contains arbitrary, human readable information about an application.
JsonnetVar represents a variable to be passed to jsonnet during manifest generation.
JWTToken holds the issuedAt and expiresAt values of a token.
JWTTokens represents a list of JWT tokens +kubebuilder:object:generate=true.
KnownTypeField contains mapping between CRD field and known Kubernetes type.
No description provided by the author
KustomizeOptions are options for kustomize to use when building manifests.
+kubebuilder:object:generate=true.
No description provided by the author
No description provided by the author
No description provided by the author
ListGenerator include items info +kubebuilder:object:generate=true.
+kubebuilder:object:generate=true.
MatrixGenerator generates the cartesian product of two sets of parameters.
MergeGenerator merges the output of two or more generators.
NestedMatrixGenerator is a MatrixGenerator nested under another combination-type generator (MatrixGenerator or MergeGenerator).
NestedMergeGenerator is a MergeGenerator nested under another combination-type generator (MatrixGenerator or MergeGenerator).
Operation contains information about a requested or running operation +kubebuilder:object:generate=true.
OperationInitiator contains information about the initiator of an operation.
OperationState contains information about state of a running operation +kubebuilder:object:generate=true.
+kubebuilder:object:generate=true.
+kubebuilder:object:generate=true.
OrphanedResourceKey is a reference to a resource to be ignored from +kubebuilder:object:generate=true.
OrphanedResourcesMonitorSettings holds settings of orphaned resources monitoring +kubebuilder:object:generate=true.
OverrideIgnoreDiff contains configurations about how fields should be ignored during diffs between the desired state and live state.
+kubebuilder:object:generate=true.
PluginGenerator defines connection info specific to Plugin.
+kubebuilder:object:generate=true.
ProjectRole represents a role that has access to a project +kubebuilder:object:generate=true.
PullRequestGenerator defines a generator that scrapes a PullRequest API to find candidate pull requests.
PullRequestGeneratorAzureDevOps defines connection info specific to AzureDevOps.
PullRequestGeneratorBitbucket defines connection info specific to Bitbucket.
PullRequestGeneratorBitbucketServer defines connection info specific to BitbucketServer.
PullRequestGeneratorFilter is a single pull request filter.
PullRequestGeneratorGitea defines connection info specific to Gitea.
PullRequestGenerator defines connection info specific to GitHub.
PullRequestGeneratorGitLab defines connection info specific to GitLab.
No description provided by the author
RepoCreds holds the definition for repository credentials.
RepositoryList is a collection of Repositories.
Repository is a repository holding application configurations.
A RepositoryCertificate is either SSH known hosts entry or TLS certificate.
RepositoryCertificateList is a collection of RepositoryCertificates.
RepositoryList is a collection of Repositories.
TODO: describe this type TODO: describe members of this type.
TODO: describe this type TODO: describe members of this type.
TODO: describe this type TODO: describe members of this type.
TODO: describe this type TODO: describe members of this type.
ResourceDiff holds the diff of a live and target resource object TODO: describe members of this type.
ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state.
ResourceNetworkingInfo holds networking resource related information TODO: describe members of this type +kubebuilder:object:generate=true.
ResourceNode contains information about live resource and its children TODO: describe members of this type +kubebuilder:object:generate=true.
ResourceOverride holds configuration to customize resource diffing and health assessment TODO: describe the members of this type.
ResourceRef includes fields which uniquely identify a resource.
ResourceResult holds the operation result details of a specific resource.
ResourceStatus holds the current sync and health status of a resource TODO: describe members of this type +kubebuilder:object:generate=true.
RetryStrategy contains information about the strategy to apply when a sync failed +kubebuilder:object:generate=true.
RevisionHistory contains history information about a previous sync +kubebuilder:object:generate=true.
RevisionMetadata contains metadata for a specific revision in a Git repository.
SCMProviderGenerator defines a generator that scrapes a SCMaaS API to find candidate repos.
SCMProviderGeneratorAWSCodeCommit defines connection info specific to AWS CodeCommit.
SCMProviderGeneratorAzureDevOps defines connection info specific to Azure DevOps.
SCMProviderGeneratorBitbucket defines connection info specific to Bitbucket Cloud (API version 2).
SCMProviderGeneratorBitbucketServer defines connection info specific to Bitbucket Server.
SCMProviderGeneratorFilter is a single repository filter.
SCMProviderGeneratorGitea defines a connection info specific to Gitea.
SCMProviderGeneratorGithub defines connection info specific to GitHub.
SCMProviderGeneratorGitlab defines connection info specific to Gitlab.
Utility struct for a reference to a secret key.
SignatureKey is the specification of a key required to verify commit signatures with.
SyncOperation contains details about a sync operation.
SyncOperationResource contains resources to sync.
SyncOperationResult represent result of sync operation +kubebuilder:object:generate=true.
SyncPolicy controls when a sync will be performed in response to updates in git +kubebuilder:object:generate=true.
SyncPolicyAutomated controls the behavior of an automated sync.
SyncStatus contains information about the currently observed live and desired states of an application +kubebuilder:object:generate=true.
SyncStrategy controls the manner in which a sync is performed +kubebuilder:object:generate=true.
SyncStrategyApply uses `kubectl apply` to perform the apply.
SyncStrategyHook will perform a sync using hooks annotations.
SyncWindow contains the kind, time, duration and attributes that are used to assign the syncWindows to apps +kubebuilder:object:generate=true.
No description provided by the author
TLSClientConfig contains settings to enable transport layer security.
# Type aliases
ApplicationConditionType represents type of application condition.
SyncStatusCode is a type which represents possible comparison results.
ApplicationSetConditionType represents type of application condition.
ApplicationSetIgnoreDifferences configures how the ApplicationSet controller will ignore differences in live applications when applying changes from generated applications.
+kubebuilder:object:generate=true.
No description provided by the author
+kubebuilder:object:generate=true.
No description provided by the author
ApplicationSources contains list of required information about the sources of an application.
ApplicationSourceType specifies the type of the application's source.
ApplicationsSyncPolicy representation "create-only" means applications are only created.
ConnectionStatus represents the status indicator for a connection to a remote resource.
Env is a list of environment variable entries.
No description provided by the author
KustomizeImage represents a Kustomize image definition in the format [old_image_name=]<image_name>:<image_tag>.
KustomizeImages is a list of Kustomize images.
No description provided by the author
No description provided by the author
No description provided by the author
RefreshType specifies how to refresh the sources of a given application.
No description provided by the author
Repositories defines a list of Repository configurations.
No description provided by the author
ResourceResults defines a list of resource results for a given operation.
RevisionHistories is a array of history, oldest first and newest last +kubebuilder:object:generate=true.
No description provided by the author
SyncStatusCode is a type which represents possible comparison results.
SyncWindows is a collection of sync windows in this project.
No description provided by the author