AddPostaWithReferences
Method
func (DistributedApplicationBuilder) AddPostaWithReferences( name string, database PostgresDatabaseResource, redis RedisResource, options ...*AddPostaWithReferencesOptions,) PostaResourceSignature
method
AddPostaWithReferences builderAdds a Posta container resource with PostgreSQL and Redis references
AddPostaWithReferences( name string, database PostgresDatabaseResource, redis RedisResource, options ...*AddPostaWithReferencesOptions,) PostaResourceParameters
namestringThe name of the Posta container resource.databasePostgresDatabaseResource The PostgreSQL database resource used by Posta.redisRedisResource The Redis resource used by Posta.options...*AddPostaWithReferencesOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddPostaWithReferencesOptions argument.
JwtSecret *ParameterResource Optional parameter used as the Posta JWT signing secret.AdminPassword *ParameterResource Optional parameter used as the initial Posta admin password.AdminEmail *stringThe initial Posta admin account email.Port*float64Optional host port for the Posta HTTP API and dashboard.Returns
PostaResource A reference to the I for further resource configuration.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder