AddFlagd
Method
func (DistributedApplicationBuilder) AddFlagd( name string, options ...*AddFlagdOptions,) FlagdResourceSignature
method
AddFlagd builderAdds a flagd container to the application model.
AddFlagd( name string, options ...*AddFlagdOptions,) FlagdResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.options...*AddFlagdOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddFlagdOptions argument.
Port*float64The host port for flagd HTTP endpoint. If not provided, a random port will be assigned.OfrepPort *float64The host port for flagd OFREP endpoint. If not provided, a random port will be assigned.Returns
FlagdResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder