pipelines
No long description provided.
Installation
dagger install github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4cEntrypoint
Return Type
Pipelines !Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
func (m *MyModule) Example() *dagger.Pipelines  {
	return dag.
			Pipelines()
}@function
def example() -> dagger.Pipelines:
	return (
		dag.pipelines()
	)@func()
example(): Pipelines {
	return dag
		.pipelines()
}Types
Pipelines 🔗
call() 🔗
Return Type
Container !Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 callfunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			Pipelines().
			Call()
}@function
def example() -> dagger.Container:
	return (
		dag.pipelines()
		.call()
	)@func()
example(): Container {
	return dag
		.pipelines()
		.call()
}lint() 🔗
Lint the codebase using eslint
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | The path to source directory | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 lintfunc (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Pipelines().
			Lint(ctx)
}@function
async def example() -> str:
	return await (
		dag.pipelines()
		.lint()
	)@func()
async example(): Promise<string> {
	return dag
		.pipelines()
		.lint()
}codeScan() 🔗
Scan vunerabilities in container using Trivy
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | No description provided | 
| token | String ! | - | No description provided | 
| variant | String ! | "alpine" | No description provided | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 code-scan --token string --variant stringfunc (m *MyModule) Example(ctx context.Context, token string, variant string) string  {
	return dag.
			Pipelines().
			CodeScan(ctxtoken, variant)
}@function
async def example(token: str, variant: str) -> str:
	return await (
		dag.pipelines()
		.code_scan(token, variant)
	)@func()
async example(token: string, variant: string): Promise<string> {
	return dag
		.pipelines()
		.codeScan(token, variant)
}imageScan() 🔗
Scan vunerabilities in single image using Trivy
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| image | String ! | - | The image to scan for vulnerabilities | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 image-scan --image stringfunc (m *MyModule) Example(ctx context.Context, image string) string  {
	return dag.
			Pipelines().
			ImageScan(ctx, image)
}@function
async def example(image: str) -> str:
	return await (
		dag.pipelines()
		.image_scan(image)
	)@func()
async example(image: string): Promise<string> {
	return dag
		.pipelines()
		.imageScan(image)
}imagesScan() 🔗
Scan vunerabilities in single image using Trivy
Return Type
[String ! ] !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| images | [String ! ] ! | - | a list of images to scan separate by comma | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 images-scan --images string1 --images string2func (m *MyModule) Example(ctx context.Context, images []string) []string  {
	return dag.
			Pipelines().
			ImagesScan(ctx, images)
}@function
async def example(images: List[str]) -> List[str]:
	return await (
		dag.pipelines()
		.images_scan(images)
	)@func()
async example(images: string[]): Promise<string[]> {
	return dag
		.pipelines()
		.imagesScan(images)
}protoc() 🔗
Typescript generation using protoc-gen-ts_proto plugin.
Return Type
Container !Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 protocfunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			Pipelines().
			Protoc()
}@function
def example() -> dagger.Container:
	return (
		dag.pipelines()
		.protoc()
	)@func()
example(): Container {
	return dag
		.pipelines()
		.protoc()
}publishProtocImage() 🔗
Publish the protoc image to image registry.
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| imageName | String ! | "ducleeclone/protoc-builder:latest" | No description provided | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 publish-protoc-image --image-name stringfunc (m *MyModule) Example(ctx context.Context, imageName string) string  {
	return dag.
			Pipelines().
			PublishProtocImage(ctx, imageName)
}@function
async def example(image_name: str) -> str:
	return await (
		dag.pipelines()
		.publish_protoc_image(image_name)
	)@func()
async example(imageName: string): Promise<string> {
	return dag
		.pipelines()
		.publishProtocImage(imageName)
}genProtoc() 🔗
Generate TypeScript types from a proto file using the protoc-gen-ts_proto plugin.
Return Type
Directory !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| filePath | File ! | - | The path to the proto file to generate types for | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 gen-protoc --file-path file:pathfunc (m *MyModule) Example(filePath *dagger.File) *dagger.Directory  {
	return dag.
			Pipelines().
			GenProtoc(filePath)
}@function
def example(file_path: dagger.File) -> dagger.Directory:
	return (
		dag.pipelines()
		.gen_protoc(file_path)
	)@func()
example(filePath: File): Directory {
	return dag
		.pipelines()
		.genProtoc(filePath)
}installPackage() 🔗
Install package for monorepo project.
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | The path to the source directory | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 install-packagefunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			Pipelines().
			InstallPackage()
}@function
def example() -> dagger.Container:
	return (
		dag.pipelines()
		.install_package()
	)@func()
example(): Container {
	return dag
		.pipelines()
		.installPackage()
}buildBackend() 🔗
Build a single backend service based on service name.
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| service | String ! | - | The name of the service to build. | 
| source | Directory | - | No description provided | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 build-backend --service stringfunc (m *MyModule) Example(service string) *dagger.Container  {
	return dag.
			Pipelines().
			BuildBackend(service)
}@function
def example(service: str) -> dagger.Container:
	return (
		dag.pipelines()
		.build_backend(service)
	)@func()
example(service: string): Container {
	return dag
		.pipelines()
		.buildBackend(service)
}buildFrontend() 🔗
Build frontend.
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | No description provided | 
| frontendSecret | Secret ! | - | No description provided | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 build-frontend --frontend-secret env:MYSECRETfunc (m *MyModule) Example(frontendSecret *dagger.Secret) *dagger.Container  {
	return dag.
			Pipelines().
			BuildFrontend(frontendSecret)
}@function
def example(frontend_secret: dagger.Secret) -> dagger.Container:
	return (
		dag.pipelines()
		.build_frontend(frontend_secret)
	)@func()
example(frontendSecret: Secret): Container {
	return dag
		.pipelines()
		.buildFrontend(frontendSecret)
}serverFrontend() 🔗
Run frontend service.
Return Type
Service !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | No description provided | 
| frontendSecret | Secret ! | - | No description provided | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 server-frontend --frontend-secret env:MYSECRETfunc (m *MyModule) Example(frontendSecret *dagger.Secret) *dagger.Service  {
	return dag.
			Pipelines().
			ServerFrontend(frontendSecret)
}@function
def example(frontend_secret: dagger.Secret) -> dagger.Service:
	return (
		dag.pipelines()
		.server_frontend(frontend_secret)
	)@func()
example(frontendSecret: Secret): Service {
	return dag
		.pipelines()
		.serverFrontend(frontendSecret)
}buildAndPushImages() 🔗
Push a set of services to docker hub registry.
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | No description provided | 
| services | [String ! ] ! | - | List of services to push to registry. | 
| frontendSecret | Secret ! | - | No description provided | 
| snykToken | String ! | - | No description provided | 
| version | String ! | "latest" | No description provided | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 build-and-push-images --services string1 --services string2 --frontend-secret env:MYSECRET --snyk-token string --version stringfunc (m *MyModule) Example(ctx context.Context, services []string, frontendSecret *dagger.Secret, snykToken string, version string) string  {
	return dag.
			Pipelines().
			BuildAndPushImages(ctxservices, frontendSecret, snykToken, version)
}@function
async def example(services: List[str], frontend_secret: dagger.Secret, snyk_token: str, version: str) -> str:
	return await (
		dag.pipelines()
		.build_and_push_images(services, frontend_secret, snyk_token, version)
	)@func()
async example(services: string[], frontendSecret: Secret, snykToken: string, version: string): Promise<string> {
	return dag
		.pipelines()
		.buildAndPushImages(services, frontendSecret, snykToken, version)
}buildWorkflow() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | No description provided | 
Example
dagger -m github.com/duclee9x/nexura-ecommerce/.dagger@4e140d77fad7392899f2c9ae9a37fd772d871f4c call \
 build-workflowfunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			Pipelines().
			BuildWorkflow()
}@function
def example() -> dagger.Container:
	return (
		dag.pipelines()
		.build_workflow()
	)@func()
example(): Container {
	return dag
		.pipelines()
		.buildWorkflow()
}