health-check
No long description provided.
Installation
dagger install github.com/StaytunedLLP/devops/dagger-modules/health-check@df344b11bf98eb5ea0cf72277dea920f68573e16Entrypoint
Return Type
HealthCheck Example
dagger -m github.com/StaytunedLLP/devops/dagger-modules/health-check@df344b11bf98eb5ea0cf72277dea920f68573e16 call \
func (m *MyModule) Example() *dagger.HealthCheck {
return dag.
HealthCheck()
}@function
def example() -> dagger.HealthCheck:
return (
dag.health_check()
)@func()
example(): HealthCheck {
return dag
.healthCheck()
}Types
HealthCheck 🔗
nodeChecks() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory ! | - | No description provided |
| nodeAuthToken | Secret ! | - | No description provided |
| packagePaths | String ! | "." | No description provided |
| build | Boolean ! | false | No description provided |
| test | Boolean ! | false | No description provided |
| lint | Boolean ! | false | No description provided |
| format | Boolean ! | false | No description provided |
| verifyChromiumBidi | Boolean ! | false | No description provided |
Example
dagger -m github.com/StaytunedLLP/devops/dagger-modules/health-check@df344b11bf98eb5ea0cf72277dea920f68573e16 call \
node-checks --source DIR_PATH --node-auth-token env:MYSECRET --package-paths string --build boolean --test boolean --lint boolean --format boolean --verify-chromium-bidi booleanfunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory, nodeAuthToken *dagger.Secret, packagePaths string, build bool, test bool, lint bool, format bool, verifyChromiumBidi bool) string {
return dag.
HealthCheck().
NodeChecks(ctx, source, nodeAuthToken, packagePaths, build, test, lint, format, verifyChromiumBidi)
}@function
async def example(source: dagger.Directory, node_auth_token: dagger.Secret, package_paths: str, build: bool, test: bool, lint: bool, format: bool, verify_chromium_bidi: bool) -> str:
return await (
dag.health_check()
.node_checks(source, node_auth_token, package_paths, build, test, lint, format, verify_chromium_bidi)
)@func()
async example(source: Directory, nodeAuthToken: Secret, packagePaths: string, build: boolean, test: boolean, lint: boolean, format: boolean, verifyChromiumBidi: boolean): Promise<string> {
return dag
.healthCheck()
.nodeChecks(source, nodeAuthToken, packagePaths, build, test, lint, format, verifyChromiumBidi)
}