pulumi-ops
No long description provided.
Installation
dagger install github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50Entrypoint
Return Type
PulumiOps Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
func (m *MyModule) Example() *dagger.PulumiOps {
return dag.
PulumiOps()
}@function
def example() -> dagger.PulumiOps:
return (
dag.pulumi_ops()
)@func()
example(): PulumiOps {
return dag
.pulumiOps()
}Types
PulumiOps 🔗
PulumiOps represents the Pulumi operations configuration.
backend() 🔗
Return Type
String ! Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
backendfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
PulumiOps().
Backend(ctx)
}@function
async def example() -> str:
return await (
dag.pulumi_ops()
.backend()
)@func()
async example(): Promise<string> {
return dag
.pulumiOps()
.backend()
}version() 🔗
Return Type
String ! Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
versionfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
PulumiOps().
Version(ctx)
}@function
async def example() -> str:
return await (
dag.pulumi_ops()
.version()
)@func()
async example(): Promise<string> {
return dag
.pulumiOps()
.version()
}kubeConfig() 🔗
Return Type
File ! Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
kube-configfunc (m *MyModule) Example() *dagger.File {
return dag.
PulumiOps().
KubeConfig()
}@function
def example() -> dagger.File:
return (
dag.pulumi_ops()
.kube_config()
)@func()
example(): File {
return dag
.pulumiOps()
.kubeConfig()
}credentials() 🔗
Return Type
File ! Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
credentialsfunc (m *MyModule) Example() *dagger.File {
return dag.
PulumiOps().
Credentials()
}@function
def example() -> dagger.File:
return (
dag.pulumi_ops()
.credentials()
)@func()
example(): File {
return dag
.pulumiOps()
.credentials()
}repository() 🔗
Repository name
Return Type
String ! Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
repositoryfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
PulumiOps().
Repository(ctx)
}@function
async def example() -> str:
return await (
dag.pulumi_ops()
.repository()
)@func()
async example(): Promise<string> {
return dag
.pulumiOps()
.repository()
}withPulumi() 🔗
WithPulumi sets the Pulumi version for the PulumiOps instance.
Return Type
PulumiOps !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | "3.108.0" | pulumi version |
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
with-pulumi --version stringfunc (m *MyModule) Example(version string) *dagger.PulumiOps {
return dag.
PulumiOps().
WithPulumi(version)
}@function
def example(version: str) -> dagger.PulumiOps:
return (
dag.pulumi_ops()
.with_pulumi(version)
)@func()
example(version: string): PulumiOps {
return dag
.pulumiOps()
.withPulumi(version)
}withBackend() 🔗
WithBackend sets the backend for storing state for the PulumiOps instance.
Return Type
PulumiOps !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| backend | String ! | - | pulumi backend for storing state, required |
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
with-backend --backend stringfunc (m *MyModule) Example(backend string) *dagger.PulumiOps {
return dag.
PulumiOps().
WithBackend(backend)
}@function
def example(backend: str) -> dagger.PulumiOps:
return (
dag.pulumi_ops()
.with_backend(backend)
)@func()
example(backend: string): PulumiOps {
return dag
.pulumiOps()
.withBackend(backend)
}withCredentials() 🔗
WithCredentials sets the credentials file for the PulumiOps instance.
Return Type
PulumiOps !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| credentials | File ! | - | credentials file(google cloud for the time being), required |
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
with-credentials --credentials file:pathfunc (m *MyModule) Example(credentials *dagger.File) *dagger.PulumiOps {
return dag.
PulumiOps().
WithCredentials(credentials)
}@function
def example(credentials: dagger.File) -> dagger.PulumiOps:
return (
dag.pulumi_ops()
.with_credentials(credentials)
)@func()
example(credentials: File): PulumiOps {
return dag
.pulumiOps()
.withCredentials(credentials)
}withKubeConfig() 🔗
WithKubeConfig sets the Kubernetes configuration file for the PulumiOps instance.
Return Type
PulumiOps !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| config | File ! | - | kubernetes configuration file, required |
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
with-kube-config --config file:pathfunc (m *MyModule) Example(config *dagger.File) *dagger.PulumiOps {
return dag.
PulumiOps().
WithKubeConfig(config)
}@function
def example(config: dagger.File) -> dagger.PulumiOps:
return (
dag.pulumi_ops()
.with_kube_config(config)
)@func()
example(config: File): PulumiOps {
return dag
.pulumiOps()
.withKubeConfig(config)
}withRepository() 🔗
WithRepository sets the repository name
Return Type
PulumiOps !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| repository | String ! | - | Repository name, Required |
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
with-repository --repository stringfunc (m *MyModule) Example(repository string) *dagger.PulumiOps {
return dag.
PulumiOps().
WithRepository(repository)
}@function
def example(repository: str) -> dagger.PulumiOps:
return (
dag.pulumi_ops()
.with_repository(repository)
)@func()
example(repository: string): PulumiOps {
return dag
.pulumiOps()
.withRepository(repository)
}pulumiContainer() 🔗
PulumiContainer returns a container with the specified Pulumi version.
Return Type
Container ! Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
pulumi-containerfunc (m *MyModule) Example() *dagger.Container {
return dag.
PulumiOps().
PulumiContainer()
}@function
def example() -> dagger.Container:
return (
dag.pulumi_ops()
.pulumi_container()
)@func()
example(): Container {
return dag
.pulumiOps()
.pulumiContainer()
}login() 🔗
Login logs into the Pulumi backend using the provided credentials.
Return Type
Container ! Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
loginfunc (m *MyModule) Example() *dagger.Container {
return dag.
PulumiOps().
Login()
}@function
def example() -> dagger.Container:
return (
dag.pulumi_ops()
.login()
)@func()
example(): Container {
return dag
.pulumiOps()
.login()
}kubeAccess() 🔗
KubeAccess sets up Kubernetes access using the provided kubeconfig file.
Return Type
Container ! Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
kube-accessfunc (m *MyModule) Example() *dagger.Container {
return dag.
PulumiOps().
KubeAccess()
}@function
def example() -> dagger.Container:
return (
dag.pulumi_ops()
.kube_access()
)@func()
example(): Container {
return dag
.pulumiOps()
.kubeAccess()
}deployApp() 🔗
DeployApp deploys a dictycr application using Pulumi configurations and specified parameters.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| project | String ! | "backend_application" | project folder under src that has to be deployed |
| app | String ! | - | application that has to be deployed,required |
| tag | String ! | - | image tag that has to deployed, required |
| stack | String ! | "dev" | pulumi stack name |
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
deploy-app --project string --app string --tag string --stack stringfunc (m *MyModule) Example(ctx context.Context, project string, app string, tag string, stack string) string {
return dag.
PulumiOps().
DeployApp(ctx, project, app, tag, stack)
}@function
async def example(project: str, app: str, tag: str, stack: str) -> str:
return await (
dag.pulumi_ops()
.deploy_app(project, app, tag, stack)
)@func()
async example(project: string, app: string, tag: string, stack: string): Promise<string> {
return dag
.pulumiOps()
.deployApp(project, app, tag, stack)
}deployAppThroughGithub() 🔗
DeployAppThroughGithub deploys application using a GitHub deployment ID and token.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| deploymentId | String ! | - | Deployment ID, Required |
| token | String ! | - | GitHub token for making API requests, Required |
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
deploy-app-through-github --deployment-id string --token stringfunc (m *MyModule) Example(ctx context.Context, deploymentId string, token string) string {
return dag.
PulumiOps().
DeployAppThroughGithub(ctx, deploymentId, token)
}@function
async def example(deployment_id: str, token: str) -> str:
return await (
dag.pulumi_ops()
.deploy_app_through_github(deployment_id, token)
)@func()
async example(deploymentId: string, token: string): Promise<string> {
return dag
.pulumiOps()
.deployAppThroughGithub(deploymentId, token)
}deployBackendThroughGithub() 🔗
DeployBackendThroughGithub deploys the backend using a GitHub deployment ID and token.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| deploymentId | String ! | - | Deployment ID, Required |
| token | String ! | - | GitHub token for making API requests, Required |
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
deploy-backend-through-github --deployment-id string --token stringfunc (m *MyModule) Example(ctx context.Context, deploymentId string, token string) string {
return dag.
PulumiOps().
DeployBackendThroughGithub(ctx, deploymentId, token)
}@function
async def example(deployment_id: str, token: str) -> str:
return await (
dag.pulumi_ops()
.deploy_backend_through_github(deployment_id, token)
)@func()
async example(deploymentId: string, token: string): Promise<string> {
return dag
.pulumiOps()
.deployBackendThroughGithub(deploymentId, token)
}deployFrontendThroughGithub() 🔗
DeployFrontendThroughGithub deploys the frontend using a GitHub deployment ID and token.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| deploymentId | String ! | - | Deployment ID, Required |
| token | String ! | - | GitHub token for making API requests, Required |
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@fe5c70e43a629c2ace0be53abde1bcba8773bc50 call \
deploy-frontend-through-github --deployment-id string --token stringfunc (m *MyModule) Example(ctx context.Context, deploymentId string, token string) string {
return dag.
PulumiOps().
DeployFrontendThroughGithub(ctx, deploymentId, token)
}@function
async def example(deployment_id: str, token: str) -> str:
return await (
dag.pulumi_ops()
.deploy_frontend_through_github(deployment_id, token)
)@func()
async example(deploymentId: string, token: string): Promise<string> {
return dag
.pulumiOps()
.deployFrontendThroughGithub(deploymentId, token)
}