-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: Initialize Cue module and add definitions
Signed-off-by: santoshkal <[email protected]>
- Loading branch information
1 parent
c38ef30
commit 587b78e
Showing
1,530 changed files
with
276,673 additions
and
2 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
cue.mod/gen/github.com/argoproj/argo-cd/v2/pkg/apis/application/register_go_gen.cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Code generated by cue get go. DO NOT EDIT. | ||
|
||
//cue:generate cue get go github.com/argoproj/argo-cd/v2/pkg/apis/application | ||
|
||
package application | ||
|
||
// API Group | ||
#Group: "argoproj.io" | ||
|
||
// Application constants | ||
#ApplicationKind: "Application" | ||
#ApplicationSingular: "application" | ||
#ApplicationPlural: "applications" | ||
#ApplicationShortName: "app" | ||
#ApplicationFullName: "applications.argoproj.io" | ||
|
||
// AppProject constants | ||
#AppProjectKind: "AppProject" | ||
#AppProjectSingular: "appproject" | ||
#AppProjectPlural: "appprojects" | ||
#AppProjectShortName: "appproject" | ||
#AppProjectFullName: "appprojects.argoproj.io" | ||
|
||
// ApplicationSet constants | ||
#ApplicationSetKind: "ApplicationSet" | ||
#ApplicationSetSingular: "applicationset" | ||
#ApplicationSetShortName: "appset" | ||
#ApplicationSetPlural: "applicationsets" | ||
#ApplicationSetFullName: "applicationsets.argoproj.io" |
38 changes: 38 additions & 0 deletions
38
...github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1/app_project_types_go_gen.cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// Code generated by cue get go. DO NOT EDIT. | ||
|
||
//cue:generate cue get go github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1 | ||
|
||
package v1alpha1 | ||
|
||
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
|
||
// AppProjectList is list of AppProject resources | ||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
#AppProjectList: { | ||
metav1.#TypeMeta | ||
metadata: metav1.#ListMeta @go(ListMeta) @protobuf(1,bytes,opt) | ||
items: [...#AppProject] @go(Items,[]AppProject) @protobuf(2,bytes,rep) | ||
} | ||
|
||
// 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) | ||
// +genclient | ||
// +genclient:noStatus | ||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
// +kubebuilder:resource:path=appprojects,shortName=appproj;appprojs | ||
#AppProject: { | ||
metav1.#TypeMeta | ||
metadata: metav1.#ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt) | ||
spec: #AppProjectSpec @go(Spec) @protobuf(2,bytes,opt) | ||
status?: #AppProjectStatus @go(Status) @protobuf(3,bytes,opt) | ||
} | ||
|
||
// AppProjectStatus contains status information for AppProject CRs | ||
#AppProjectStatus: { | ||
// JWTTokensByRole contains a list of JWT tokens issued for a given role | ||
jwtTokensByRole?: {[string]: #JWTTokens} @go(JWTTokensByRole,map[string]JWTTokens) @protobuf(1,bytes,opt) | ||
} |
15 changes: 15 additions & 0 deletions
15
....com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1/application_annotations_go_gen.cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Code generated by cue get go. DO NOT EDIT. | ||
|
||
//cue:generate cue get go github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1 | ||
|
||
package v1alpha1 | ||
|
||
// AnnotationKeyRefresh is the annotation key which indicates that app needs to be refreshed. Removed by application controller after app is refreshed. | ||
// Might take values 'normal'/'hard'. Value 'hard' means manifest cache and target cluster state cache should be invalidated before refresh. | ||
#AnnotationKeyRefresh: "argocd.argoproj.io/refresh" | ||
|
||
// AnnotationKeyManifestGeneratePaths is an annotation that contains a list of semicolon-separated paths in the | ||
// manifests repository that affects the manifest generation. Paths might be either relative or absolute. The | ||
// absolute path means an absolute path within the repository and the relative path is relative to the application | ||
// source path within the repository. | ||
#AnnotationKeyManifestGeneratePaths: "argocd.argoproj.io/manifest-generate-paths" |
29 changes: 29 additions & 0 deletions
29
...hub.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1/application_defaults_go_gen.cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Code generated by cue get go. DO NOT EDIT. | ||
|
||
//cue:generate cue get go github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1 | ||
|
||
package v1alpha1 | ||
|
||
import "time" | ||
|
||
#DefaultSyncRetryMaxDuration: time.#Duration & 180000000000 | ||
#DefaultSyncRetryDuration: time.#Duration & 5000000000 | ||
#DefaultSyncRetryFactor: int64 & 2 | ||
|
||
// ResourcesFinalizerName is the finalizer value which we inject to finalize deletion of an application | ||
#ResourcesFinalizerName: "resources-finalizer.argocd.argoproj.io" | ||
|
||
// ForegroundPropagationPolicyFinalizer is the finalizer we inject to delete application with foreground propagation policy | ||
#ForegroundPropagationPolicyFinalizer: "resources-finalizer.argocd.argoproj.io/foreground" | ||
|
||
// BackgroundPropagationPolicyFinalizer is the finalizer we inject to delete application with background propagation policy | ||
#BackgroundPropagationPolicyFinalizer: "resources-finalizer.argocd.argoproj.io/background" | ||
|
||
// DefaultAppProjectName contains name of 'default' app project, which is available in every Argo CD installation | ||
#DefaultAppProjectName: "default" | ||
|
||
// RevisionHistoryLimit is the max number of successful sync to keep in history | ||
#RevisionHistoryLimit: 10 | ||
|
||
// KubernetesInternalAPIServerAddr is address of the k8s API server when accessing internal to the cluster | ||
#KubernetesInternalAPIServerAddr: "https://kubernetes.default.svc" |
Oops, something went wrong.