gcp

package
v1.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p *project.Project, name string, envMap map[string]string) (common.PulumiProvider, error)

Types

type ApiGateway

type ApiGateway struct {
	pulumi.ResourceState

	Name    string
	Gateway *apigateway.Gateway
	Api     *apigateway.Api
}

type ApiGatewayArgs

type ApiGatewayArgs struct {
	ProjectId           pulumi.StringInput
	StackID             pulumi.StringInput
	OpenAPISpec         *openapi2.T
	Functions           map[string]*CloudRunner
	SecurityDefinitions map[string]*v1.ApiSecurityDefinition
}

type CloudRunner

type CloudRunner struct {
	pulumi.ResourceState

	Name    string
	Service *cloudrun.Service
	Url     pulumi.StringInput
}

type CloudRunnerArgs

type CloudRunnerArgs struct {
	Location       pulumi.StringInput
	ProjectId      string
	Compute        project.Compute
	Image          *common.Image
	EnvMap         map[string]string
	ServiceAccount *serviceaccount.Account
	Topics         map[string]*pubsub.Topic
	DelayQueue     *cloudtasks.Queue
}

type Policy added in v1.3.0

type Policy struct {
	pulumi.ResourceState

	Name         string
	RolePolicies []*projects.IAMMember
}

type PolicyArgs added in v1.3.0

type PolicyArgs struct {
	Policy *v1.PolicyResource
	// Resources in the stack that must be protected
	Resources *StackResources
	// Resources in the stack that may act as actors
	Principals PrincipalMap

	ProjectID pulumi.StringInput
}

type PrincipalMap added in v1.3.0

type PrincipalMap = map[v1.ResourceType]map[string]*serviceaccount.Account

type Project

type Project struct {
	pulumi.ResourceState

	Name     string
	Services []*projects.Service
}

type ProjectArgs

type ProjectArgs struct {
	ProjectId     string
	ProjectNumber string
}

type StackResources added in v1.3.0

type StackResources struct {
	Topics        map[string]*pubsub.Topic
	Queues        map[string]*pubsub.Topic
	Subscriptions map[string]*pubsub.Subscription
	Buckets       map[string]*storage.Bucket
	Secrets       map[string]*secretmanager.Secret
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL