Documentation ¶
Index ¶
- func GetSubName(serviceName string, topicName string) string
- func NewCustomRole(ctx *pulumi.Context, name string, actions []string, ...) (*projects.IAMCustomRole, error)
- type CloudBuild
- type GcpIamServiceAccount
- type GcpIamServiceAccountArgs
- type NitricCloudRunService
- type NitricGcpPulumiProvider
- func (p *NitricGcpPulumiProvider) Api(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (p *NitricGcpPulumiProvider) Batch(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (p *NitricGcpPulumiProvider) Bucket(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (a *NitricGcpPulumiProvider) Config() (auto.ConfigMap, error)
- func (a *NitricGcpPulumiProvider) GetBatchServiceAccountForJob(jobName string) (*GcpIamServiceAccount, error)
- func (p *NitricGcpPulumiProvider) Http(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (a *NitricGcpPulumiProvider) Init(attributes map[string]interface{}) error
- func (p *NitricGcpPulumiProvider) KeyValueStore(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (p *NitricGcpPulumiProvider) Policy(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (a *NitricGcpPulumiProvider) Post(ctx *pulumi.Context) error
- func (a *NitricGcpPulumiProvider) Pre(ctx *pulumi.Context, resources []*pulumix.NitricPulumiResource[any]) error
- func (p *NitricGcpPulumiProvider) Queue(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (a *NitricGcpPulumiProvider) Result(ctx *pulumi.Context) (pulumi.StringOutput, error)
- func (p *NitricGcpPulumiProvider) Schedule(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (p *NitricGcpPulumiProvider) Secret(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (p *NitricGcpPulumiProvider) Service(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (a *NitricGcpPulumiProvider) SqlDatabase(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (p *NitricGcpPulumiProvider) Topic(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (a *NitricGcpPulumiProvider) Websocket(ctx *pulumi.Context, parent pulumi.Resource, name string, ...) error
- func (a *NitricGcpPulumiProvider) WithDefaultResourceOptions(opts ...pulumi.ResourceOption) []pulumi.ResourceOption
- type Policy
- type Project
- type ProjectArgs
- type SecretManagerSecret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSubName ¶
func NewCustomRole ¶
func NewCustomRole(ctx *pulumi.Context, name string, actions []string, opts ...pulumi.ResourceOption) (*projects.IAMCustomRole, error)
Types ¶
type CloudBuild ¶
type CloudBuild struct { pulumi.ResourceState ID pulumi.StringOutput }
type GcpIamServiceAccount ¶
type GcpIamServiceAccount struct { pulumi.ResourceState Name string ServiceAccount *serviceaccount.Account }
func NewServiceAccount ¶
func NewServiceAccount(ctx *pulumi.Context, name string, args *GcpIamServiceAccountArgs, opts ...pulumi.ResourceOption) (*GcpIamServiceAccount, error)
Create a new GCP IAM service account
type GcpIamServiceAccountArgs ¶
type GcpIamServiceAccountArgs struct {
AccountId string
}
type NitricCloudRunService ¶
type NitricCloudRunService struct { Name string Service *cloudrunv2.Service ServiceAccount *serviceaccount.Account Url pulumi.StringInput Invoker *serviceaccount.Account EventToken pulumi.StringOutput }
NitricCloudRunService - A wrapper that encapsulates all important information about a cloud run service deployed by nitric
type NitricGcpPulumiProvider ¶
type NitricGcpPulumiProvider struct { *deploy.CommonStackDetails StackId string GcpConfig *common.GcpConfig DockerProvider *docker.Provider RegistryArgs *docker.RegistryArgs ContainerRegistry *artifactregistry.Repository DelayQueue *cloudtasks.Queue AuthToken *oauth2.Token BaseComputeRole *projects.IAMCustomRole SecretManagerClient *gcpsecretmanager.Client JobDefinitionBucket *storage.Bucket JobDefinitions map[string]*storage.BucketObject JobBatchMap map[string]string Project *Project ApiGateways map[string]*apigateway.Gateway HttpProxies map[string]*apigateway.Gateway CloudRunServices map[string]*NitricCloudRunService Buckets map[string]*storage.Bucket Topics map[string]*pubsub.Topic Queues map[string]*pubsub.Topic QueueSubscriptions map[string]*pubsub.Subscription Secrets map[string]*secretmanager.Secret DatabaseMigrationBuild map[string]*cloudrunv2.Job BatchServiceAccounts map[string]*GcpIamServiceAccount provider.NitricDefaultOrder // contains filtered or unexported fields }
func NewNitricGcpProvider ¶
func NewNitricGcpProvider() *NitricGcpPulumiProvider
func (*NitricGcpPulumiProvider) Api ¶
func (p *NitricGcpPulumiProvider) Api(ctx *pulumi.Context, parent pulumi.Resource, name string, apiConfig *deploymentspb.Api) error
func (*NitricGcpPulumiProvider) Batch ¶
func (p *NitricGcpPulumiProvider) Batch(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.Batch, runtimeProvider provider.RuntimeProvider) error
func (*NitricGcpPulumiProvider) Bucket ¶
func (p *NitricGcpPulumiProvider) Bucket(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.Bucket) error
func (*NitricGcpPulumiProvider) Config ¶
func (a *NitricGcpPulumiProvider) Config() (auto.ConfigMap, error)
func (*NitricGcpPulumiProvider) GetBatchServiceAccountForJob ¶
func (a *NitricGcpPulumiProvider) GetBatchServiceAccountForJob(jobName string) (*GcpIamServiceAccount, error)
func (*NitricGcpPulumiProvider) Http ¶
func (p *NitricGcpPulumiProvider) Http(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.Http) error
func (*NitricGcpPulumiProvider) Init ¶
func (a *NitricGcpPulumiProvider) Init(attributes map[string]interface{}) error
func (*NitricGcpPulumiProvider) KeyValueStore ¶
func (p *NitricGcpPulumiProvider) KeyValueStore(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.KeyValueStore) error
func (*NitricGcpPulumiProvider) Policy ¶
func (p *NitricGcpPulumiProvider) Policy(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.Policy) error
func (*NitricGcpPulumiProvider) Post ¶
func (a *NitricGcpPulumiProvider) Post(ctx *pulumi.Context) error
func (*NitricGcpPulumiProvider) Pre ¶
func (a *NitricGcpPulumiProvider) Pre(ctx *pulumi.Context, resources []*pulumix.NitricPulumiResource[any]) error
func (*NitricGcpPulumiProvider) Queue ¶
func (p *NitricGcpPulumiProvider) Queue(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.Queue) error
func (*NitricGcpPulumiProvider) Result ¶
func (a *NitricGcpPulumiProvider) Result(ctx *pulumi.Context) (pulumi.StringOutput, error)
func (*NitricGcpPulumiProvider) Schedule ¶
func (p *NitricGcpPulumiProvider) Schedule(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.Schedule) error
func (*NitricGcpPulumiProvider) Secret ¶
func (p *NitricGcpPulumiProvider) Secret(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.Secret) error
func (*NitricGcpPulumiProvider) Service ¶
func (p *NitricGcpPulumiProvider) Service(ctx *pulumi.Context, parent pulumi.Resource, name string, config *pulumix.NitricPulumiServiceConfig, runtime provider.RuntimeProvider) error
func (*NitricGcpPulumiProvider) SqlDatabase ¶
func (a *NitricGcpPulumiProvider) SqlDatabase(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.SqlDatabase) error
func (*NitricGcpPulumiProvider) Topic ¶
func (p *NitricGcpPulumiProvider) Topic(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.Topic) error
func (*NitricGcpPulumiProvider) Websocket ¶
func (a *NitricGcpPulumiProvider) Websocket(ctx *pulumi.Context, parent pulumi.Resource, name string, config *deploymentspb.Websocket) error
func (*NitricGcpPulumiProvider) WithDefaultResourceOptions ¶
func (a *NitricGcpPulumiProvider) WithDefaultResourceOptions(opts ...pulumi.ResourceOption) []pulumi.ResourceOption
type Policy ¶
type Policy struct { pulumi.ResourceState Name string RolePolicies []*projects.IAMMember }
type Project ¶
type Project struct { pulumi.ResourceState Name string Services []*projects.Service }
func NewProject ¶
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
Creates a new GCP Project
type ProjectArgs ¶
type SecretManagerSecret ¶
type SecretManagerSecret struct { pulumi.ResourceState Name string Secret *secretmanager.Secret }
Click to show internal directories.
Click to hide internal directories.