Dagger
Search

pulumi-ops

No long description provided.

Installation

dagger install github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48

Entrypoint

Return Type
PulumiOps
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
func (m *myModule) example() *PulumiOps  {
	return dag.
			PulumiOps()
}
@function
def example() -> dag.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@138d7c653ef062b0114657757e222bdbe4211a48 call \
 backend
func (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@138d7c653ef062b0114657757e222bdbe4211a48 call \
 version
func (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@138d7c653ef062b0114657757e222bdbe4211a48 call \
 kube-config
func (m *myModule) example() *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@138d7c653ef062b0114657757e222bdbe4211a48 call \
 credentials
func (m *myModule) example() *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@138d7c653ef062b0114657757e222bdbe4211a48 call \
 repository
func (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
NameTypeDefault ValueDescription
versionString !"3.108.0"pulumi version
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
 with-pulumi --version string
func (m *myModule) example(version string) *PulumiOps  {
	return dag.
			PulumiOps().
			WithPulumi(version)
}
@function
def example(version: str) -> dag.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
NameTypeDefault ValueDescription
backendString !-pulumi backend for storing state, required
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
 with-backend --backend string
func (m *myModule) example(backend string) *PulumiOps  {
	return dag.
			PulumiOps().
			WithBackend(backend)
}
@function
def example(backend: str) -> dag.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
NameTypeDefault ValueDescription
credentialsFile !-credentials file(google cloud for the time being), required
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
 with-credentials --credentials file:path
func (m *myModule) example(credentials *File) *PulumiOps  {
	return dag.
			PulumiOps().
			WithCredentials(credentials)
}
@function
def example(credentials: dagger.File) -> dag.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
NameTypeDefault ValueDescription
configFile !-kubernetes configuration file, required
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
 with-kube-config --config file:path
func (m *myModule) example(config *File) *PulumiOps  {
	return dag.
			PulumiOps().
			WithKubeConfig(config)
}
@function
def example(config: dagger.File) -> dag.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
NameTypeDefault ValueDescription
repositoryString !-Repository name, Required
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
 with-repository --repository string
func (m *myModule) example(repository string) *PulumiOps  {
	return dag.
			PulumiOps().
			WithRepository(repository)
}
@function
def example(repository: str) -> dag.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@138d7c653ef062b0114657757e222bdbe4211a48 call \
 pulumi-container
func (m *myModule) example() *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@138d7c653ef062b0114657757e222bdbe4211a48 call \
 login
func (m *myModule) example() *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@138d7c653ef062b0114657757e222bdbe4211a48 call \
 kube-access
func (m *myModule) example() *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
NameTypeDefault ValueDescription
projectString !"backend_application"project folder under src that has to be deployed
appString !-application that has to be deployed,required
tagString !-image tag that has to deployed, required
stackString !"dev"pulumi stack name
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
 deploy-app --project string --app string --tag string --stack string
func (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
NameTypeDefault ValueDescription
deploymentIdString !-Deployment ID, Required
tokenString !-GitHub token for making API requests, Required
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
 deploy-app-through-github --deployment-id string --token string
func (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
NameTypeDefault ValueDescription
deploymentIdString !-Deployment ID, Required
tokenString !-GitHub token for making API requests, Required
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
 deploy-backend-through-github --deployment-id string --token string
func (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
NameTypeDefault ValueDescription
deploymentIdString !-Deployment ID, Required
tokenString !-GitHub token for making API requests, Required
Example
dagger -m github.com/dictybase-docker/dagger-of-dcr/pulumi-ops@138d7c653ef062b0114657757e222bdbe4211a48 call \
 deploy-frontend-through-github --deployment-id string --token string
func (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)
}