hydrate-orchestrator
No long description provided.
Installation
dagger install github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd
Entrypoint
Return Type
HydrateOrchestrator !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
repo | String ! | - | Github repository name <owner>/<repo> |
ghToken | Secret ! | - | GitHub token |
app | String ! | - | Application name |
valuesStateDir | Directory ! | - | State values directory (e.g. state-app-<app>#main) |
wetStateDir | Directory ! | - | Wet state directory (e.g. wet-state-app-<app>#<deployment-branch>) |
authDir | Directory ! | - | Auth directory |
deploymentBranch | String | "deployment" | Deployment branch to hydrate |
event | Enum | "pr" | Event that triggered the workflow |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH
func (m *myModule) example(repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) *HydrateOrchestrator {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
}
@function
def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> dag.HydrateOrchestrator:
return (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
)
@func()
example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): HydrateOrchestrator {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
}
Types
HydrateOrchestrator 🔗
repo() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH repo
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) string {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
Repo(ctx)
}
@function
async def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> str:
return await (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.repo()
)
@func()
async example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): Promise<string> {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.repo()
}
ghToken() 🔗
Return Type
Secret !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH gh-token
func (m *myModule) example(repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) *Secret {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
GhToken()
}
@function
def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> dagger.Secret:
return (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.gh_token()
)
@func()
example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): Secret {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.ghToken()
}
app() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH app
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) string {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
App(ctx)
}
@function
async def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> str:
return await (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.app()
)
@func()
async example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): Promise<string> {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.app()
}
valuesStateDir() 🔗
Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH values-state-dir
func (m *myModule) example(repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) *Directory {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
ValuesStateDir()
}
@function
def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> dagger.Directory:
return (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.values_state_dir()
)
@func()
example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): Directory {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.valuesStateDir()
}
wetStateDir() 🔗
Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH wet-state-dir
func (m *myModule) example(repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) *Directory {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
WetStateDir()
}
@function
def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> dagger.Directory:
return (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.wet_state_dir()
)
@func()
example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): Directory {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.wetStateDir()
}
authDir() 🔗
Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH auth-dir
func (m *myModule) example(repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) *Directory {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
AuthDir()
}
@function
def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> dagger.Directory:
return (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.auth_dir()
)
@func()
example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): Directory {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.authDir()
}
deploymentBranch() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH deployment-branch
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) string {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
DeploymentBranch(ctx)
}
@function
async def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> str:
return await (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.deployment_branch()
)
@func()
async example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): Promise<string> {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.deploymentBranch()
}
event() 🔗
Return Type
Enum !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH event
func (m *myModule) example(repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
Event()
}
@function
def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> :
return (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.event()
)
@func()
example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.event()
}
writeToFile() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
file | File ! | - | No description provided |
content | String ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH write-to-file --file file:path --content string
func (m *myModule) example(repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, file *File, content string) *Container {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
WriteToFile(file, content)
}
@function
def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, file: dagger.File, content: str) -> dagger.Container:
return (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.write_to_file(file, content)
)
@func()
example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, file: File, content: string): Container {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.writeToFile(file, content)
}
getBranchInfo() 🔗
Return Type
HydrateOrchestratorBranchInfo !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH get-branch-info
func (m *myModule) example(repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) *HydrateOrchestratorBranchInfo {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
GetBranchInfo()
}
@function
def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> dag.HydrateOrchestratorBranchInfo:
return (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.get_branch_info()
)
@func()
example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): HydrateOrchestratorBranchInfo {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.getBranchInfo()
}
runDispatch() 🔗
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
newImagesMatrix | String | "{\"images\":[]}" | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH run-dispatch
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
RunDispatch(ctx)
}
@function
async def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> None:
return await (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.run_dispatch()
)
@func()
async example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): Promise<void> {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.runDispatch()
}
generateDeployment() 🔗
Hydrate deployments based on the updated deployments
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
id | Integer | 0 | Identifier that triggered the render, this could be a PR number or a workflow run id |
author | String | "author" | Author of the PR |
deploymentType | String ! | - | Type of deployment |
cluster | String ! | - | Cluster name |
tenant | String ! | - | Tenant name |
environment | String ! | - | Environment name |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH generate-deployment --deployment-type string --cluster string --tenant string --environment string
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, deploymentType string, cluster string, tenant string, environment string) {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
GenerateDeployment(ctxdeploymentType, cluster, tenant, environment)
}
@function
async def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, deployment_type: str, cluster: str, tenant: str, environment: str) -> None:
return await (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.generate_deployment(deployment_type, cluster, tenant, environment)
)
@func()
async example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, deploymentType: string, cluster: string, tenant: string, environment: string): Promise<void> {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.generateDeployment(deploymentType, cluster, tenant, environment)
}
validateChanges() 🔗
Hydrate deployments based on the updated deployments
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
updatedDeployments | String ! | - | Updated deployments in JSON format |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH validate-changes --updated-deployments string
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, updatedDeployments string) {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
ValidateChanges(ctx, updatedDeployments)
}
@function
async def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, updated_deployments: str) -> None:
return await (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.validate_changes(updated_deployments)
)
@func()
async example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, updatedDeployments: string): Promise<void> {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.validateChanges(updatedDeployments)
}
getHelmAuth() 🔗
Return Type
HydrateOrchestratorHelmAuth !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH get-helm-auth
func (m *myModule) example(repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory) *HydrateOrchestratorHelmAuth {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
GetHelmAuth()
}
@function
def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, ) -> dag.HydrateOrchestratorHelmAuth:
return (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.get_helm_auth()
)
@func()
example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, ): HydrateOrchestratorHelmAuth {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.getHelmAuth()
}
needsHelmAuth() 🔗
Return Type
Boolean !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
authDir | Directory ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
--repo string --gh-token env:MYSECRET --app string --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH needs-helm-auth --auth-dir DIR_PATH
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, app string, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, authDir1 *Directory) bool {
return dag.
HydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir).
NeedsHelmAuth(ctx, authDir1)
}
@function
async def example(repo: str, gh_token: dagger.Secret, app: str, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, auth_dir1: dagger.Directory) -> bool:
return await (
dag.hydrate_orchestrator(repo, gh_token, app, values_state_dir, wet_state_dir, auth_dir)
.needs_helm_auth(auth_dir1)
)
@func()
async example(repo: string, ghToken: Secret, app: string, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, authDir1: Directory): Promise<boolean> {
return dag
.hydrateOrchestrator(repo, ghToken, app, valuesStateDir, wetStateDir, authDir)
.needsHelmAuth(authDir1)
}
HydrateOrchestratorBranchInfo 🔗
name() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
get-branch-info \
name
func (m *myModule) example(ctx context.Context) string {
return dag.
HydrateOrchestrator().
GetBranchInfo().
Name(ctx)
}
@function
async def example() -> str:
return await (
dag.hydrate_orchestrator()
.get_branch_info()
.name()
)
@func()
async example(): Promise<string> {
return dag
.hydrateOrchestrator()
.getBranchInfo()
.name()
}
sha() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
get-branch-info \
sha
func (m *myModule) example(ctx context.Context) string {
return dag.
HydrateOrchestrator().
GetBranchInfo().
Sha(ctx)
}
@function
async def example() -> str:
return await (
dag.hydrate_orchestrator()
.get_branch_info()
.sha()
)
@func()
async example(): Promise<string> {
return dag
.hydrateOrchestrator()
.getBranchInfo()
.sha()
}
HydrateOrchestratorHelmAuth 🔗
username() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
get-helm-auth \
username
func (m *myModule) example(ctx context.Context) string {
return dag.
HydrateOrchestrator().
GetHelmAuth().
Username(ctx)
}
@function
async def example() -> str:
return await (
dag.hydrate_orchestrator()
.get_helm_auth()
.username()
)
@func()
async example(): Promise<string> {
return dag
.hydrateOrchestrator()
.getHelmAuth()
.username()
}
password() 🔗
Return Type
Secret !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
get-helm-auth \
password
func (m *myModule) example() *Secret {
return dag.
HydrateOrchestrator().
GetHelmAuth().
Password()
}
@function
def example() -> dagger.Secret:
return (
dag.hydrate_orchestrator()
.get_helm_auth()
.password()
)
@func()
example(): Secret {
return dag
.hydrateOrchestrator()
.getHelmAuth()
.password()
}
registry() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
get-helm-auth \
registry
func (m *myModule) example(ctx context.Context) string {
return dag.
HydrateOrchestrator().
GetHelmAuth().
Registry(ctx)
}
@function
async def example() -> str:
return await (
dag.hydrate_orchestrator()
.get_helm_auth()
.registry()
)
@func()
async example(): Promise<string> {
return dag
.hydrateOrchestrator()
.getHelmAuth()
.registry()
}
needsAuth() 🔗
Return Type
Boolean !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@f41f181084ec18d7194492786c22826ad557d9cd call \
get-helm-auth \
needs-auth
func (m *myModule) example(ctx context.Context) bool {
return dag.
HydrateOrchestrator().
GetHelmAuth().
NeedsAuth(ctx)
}
@function
async def example() -> bool:
return await (
dag.hydrate_orchestrator()
.get_helm_auth()
.needs_auth()
)
@func()
async example(): Promise<boolean> {
return dag
.hydrateOrchestrator()
.getHelmAuth()
.needsAuth()
}