Merge pull request #1242 from jlongtine/change-europa-types-hidden-fields
Change Europa Core types ids
This commit is contained in:
commit
977485aa27
@ -21,7 +21,7 @@ Create an ArgoCD application
|
|||||||
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
||||||
|*config.server* | `string` |ArgoCD server |
|
|*config.server* | `string` |ArgoCD server |
|
||||||
|*config.project* | `*"default" \| string` |ArgoCD project |
|
|*config.project* | `*"default" \| string` |ArgoCD project |
|
||||||
|*config.token* | `*null \| {}` |ArgoCD authentication token |
|
|*config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
||||||
|*name* | `string` |App name |
|
|*name* | `string` |App name |
|
||||||
|*repo* | `string` |Repository url (git or helm) |
|
|*repo* | `string` |Repository url (git or helm) |
|
||||||
|*path* | `string` |Folder to deploy |
|
|*path* | `string` |Folder to deploy |
|
||||||
@ -29,7 +29,7 @@ Create an ArgoCD application
|
|||||||
|*image.config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|*image.config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
||||||
|*image.config.server* | `string` |ArgoCD server |
|
|*image.config.server* | `string` |ArgoCD server |
|
||||||
|*image.config.project* | `*"default" \| string` |ArgoCD project |
|
|*image.config.project* | `*"default" \| string` |ArgoCD project |
|
||||||
|*image.config.token* | `*null \| {}` |ArgoCD authentication token |
|
|*image.config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
||||||
|*namespace* | `*"default" \| string` |Destination namespace |
|
|*namespace* | `*"default" \| string` |Destination namespace |
|
||||||
|*env.APP_NAME* | `string` |- |
|
|*env.APP_NAME* | `string` |- |
|
||||||
|*env.APP_REPO* | `string` |- |
|
|*env.APP_REPO* | `string` |- |
|
||||||
@ -52,7 +52,7 @@ Re-usable CLI component
|
|||||||
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
||||||
|*config.server* | `string` |ArgoCD server |
|
|*config.server* | `string` |ArgoCD server |
|
||||||
|*config.project* | `*"default" \| string` |ArgoCD project |
|
|*config.project* | `*"default" \| string` |ArgoCD project |
|
||||||
|*config.token* | `*null \| {}` |ArgoCD authentication token |
|
|*config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
||||||
|
|
||||||
### argocd.#CLI Outputs
|
### argocd.#CLI Outputs
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ ArgoCD configuration
|
|||||||
|*version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|*version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
||||||
|*server* | `string` |ArgoCD server |
|
|*server* | `string` |ArgoCD server |
|
||||||
|*project* | `*"default" \| string` |ArgoCD project |
|
|*project* | `*"default" \| string` |ArgoCD project |
|
||||||
|*token* | `*null \| {}` |ArgoCD authentication token |
|
|*token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
||||||
|
|
||||||
### argocd.#Config Outputs
|
### argocd.#Config Outputs
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ Get application's status
|
|||||||
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
||||||
|*config.server* | `string` |ArgoCD server |
|
|*config.server* | `string` |ArgoCD server |
|
||||||
|*config.project* | `*"default" \| string` |ArgoCD project |
|
|*config.project* | `*"default" \| string` |ArgoCD project |
|
||||||
|*config.token* | `*null \| {}` |ArgoCD authentication token |
|
|*config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
||||||
|*name* | `string` |ArgoCD application |
|
|*name* | `string` |ArgoCD application |
|
||||||
|
|
||||||
### argocd.#Status Outputs
|
### argocd.#Status Outputs
|
||||||
@ -111,18 +111,18 @@ Sync an application to its targer state
|
|||||||
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
||||||
|*config.server* | `string` |ArgoCD server |
|
|*config.server* | `string` |ArgoCD server |
|
||||||
|*config.project* | `*"default" \| string` |ArgoCD project |
|
|*config.project* | `*"default" \| string` |ArgoCD project |
|
||||||
|*config.token* | `*null \| {}` |ArgoCD authentication token |
|
|*config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
||||||
|*application* | `string` |ArgoCD application |
|
|*application* | `string` |ArgoCD application |
|
||||||
|*wait* | `*false \| bool` |Wait the application to sync correctly |
|
|*wait* | `*false \| bool` |Wait the application to sync correctly |
|
||||||
|*ctr.image.config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|*ctr.image.config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
||||||
|*ctr.image.config.server* | `string` |ArgoCD server |
|
|*ctr.image.config.server* | `string` |ArgoCD server |
|
||||||
|*ctr.image.config.project* | `*"default" \| string` |ArgoCD project |
|
|*ctr.image.config.project* | `*"default" \| string` |ArgoCD project |
|
||||||
|*ctr.image.config.token* | `*null \| {}` |ArgoCD authentication token |
|
|*ctr.image.config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
||||||
|*ctr.env.APPLICATION* | `string` |- |
|
|*ctr.env.APPLICATION* | `string` |- |
|
||||||
|*status.config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|*status.config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
||||||
|*status.config.server* | `string` |ArgoCD server |
|
|*status.config.server* | `string` |ArgoCD server |
|
||||||
|*status.config.project* | `*"default" \| string` |ArgoCD project |
|
|*status.config.project* | `*"default" \| string` |ArgoCD project |
|
||||||
|*status.config.token* | `*null \| {}` |ArgoCD authentication token |
|
|*status.config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
||||||
|*status.name* | `string` |ArgoCD application |
|
|*status.name* | `string` |ArgoCD application |
|
||||||
|
|
||||||
### argocd.#Sync Outputs
|
### argocd.#Sync Outputs
|
||||||
|
@ -19,7 +19,7 @@ Commit & push to git repository
|
|||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
| ------------- |:-------------: |:-------------: |
|
| ------------- |:-------------: |:-------------: |
|
||||||
|*repository.remote* | `string` |Repository remote URL |
|
|*repository.remote* | `string` |Repository remote URL |
|
||||||
|*repository.authToken* | `*null \| {}` |Authentication token (PAT or password) |
|
|*repository.authToken* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |Authentication token (PAT or password) |
|
||||||
|*repository.branch* | `string` |Git branch |
|
|*repository.branch* | `string` |Git branch |
|
||||||
|*name* | `string` |Username |
|
|*name* | `string` |Username |
|
||||||
|*email* | `string` |Email |
|
|*email* | `string` |Email |
|
||||||
@ -69,8 +69,8 @@ A git repository
|
|||||||
|*remote* | `string` |Git remote link |
|
|*remote* | `string` |Git remote link |
|
||||||
|*ref* | `string` |Git ref: can be a commit, tag or branch. Example: "main" |
|
|*ref* | `string` |Git ref: can be a commit, tag or branch. Example: "main" |
|
||||||
|*subdir* | `*null \| string` |(optional) Subdirectory |
|
|*subdir* | `*null \| string` |(optional) Subdirectory |
|
||||||
|*authToken* | `*null \| {}` |(optional) Add Personal Access Token |
|
|*authToken* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |(optional) Add Personal Access Token |
|
||||||
|*authHeader* | `*null \| {}` |(optional) Add OAuth Token |
|
|*authHeader* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |(optional) Add OAuth Token |
|
||||||
|
|
||||||
### git.#Repository Outputs
|
### git.#Repository Outputs
|
||||||
|
|
||||||
|
@ -13,8 +13,9 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
fsIDPath = cue.MakePath(
|
fsIDPath = cue.MakePath(
|
||||||
cue.Hid("_fs", stdlib.EnginePackage),
|
cue.Str("$dagger"),
|
||||||
cue.Str("id"),
|
cue.Str("fs"),
|
||||||
|
cue.Hid("_id", stdlib.EnginePackage),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,8 +11,9 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
secretIDPath = cue.MakePath(
|
secretIDPath = cue.MakePath(
|
||||||
cue.Hid("_secret", stdlib.EnginePackage),
|
cue.Str("$dagger"),
|
||||||
cue.Str("id"),
|
cue.Str("secret"),
|
||||||
|
cue.Hid("_id", stdlib.EnginePackage),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,8 +11,9 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
serviceIDPath = cue.MakePath(
|
serviceIDPath = cue.MakePath(
|
||||||
cue.Hid("_service", stdlib.EnginePackage),
|
cue.Str("$dagger"),
|
||||||
cue.Str("id"),
|
cue.Str("service"),
|
||||||
|
cue.Hid("_id", stdlib.EnginePackage),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ package engine
|
|||||||
// - A directory containing binary artifacts
|
// - A directory containing binary artifacts
|
||||||
// Rule of thumb: if it fits in a tar archive, it fits in a #FS.
|
// Rule of thumb: if it fits in a tar archive, it fits in a #FS.
|
||||||
#FS: {
|
#FS: {
|
||||||
_fs: id: string
|
$dagger: fs: _id: string
|
||||||
}
|
}
|
||||||
|
|
||||||
// A reference to an external secret, for example:
|
// A reference to an external secret, for example:
|
||||||
@ -17,7 +17,7 @@ package engine
|
|||||||
// Secrets are never merged in the Cue tree. They can only be used
|
// Secrets are never merged in the Cue tree. They can only be used
|
||||||
// by a special filesystem mount designed to minimize leak risk.
|
// by a special filesystem mount designed to minimize leak risk.
|
||||||
#Secret: {
|
#Secret: {
|
||||||
_secret: id: string
|
$dagger: secret: _id: string
|
||||||
}
|
}
|
||||||
|
|
||||||
// A reference to a network service endpoint, for example:
|
// A reference to a network service endpoint, for example:
|
||||||
@ -25,5 +25,5 @@ package engine
|
|||||||
// - A unix or npipe socket
|
// - A unix or npipe socket
|
||||||
// - An HTTPS endpoint
|
// - An HTTPS endpoint
|
||||||
#Service: {
|
#Service: {
|
||||||
_service: id: string
|
$dagger: service: _id: string
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user