WithHttpsEndpoint
Method
func (ResourceWithEndpoints) WithHttpsEndpoint(options ...*WithHttpsEndpointOptions) ResourceWithEndpointsSignature
method
WithHttpsEndpoint builderAdds an HTTPS endpoint
WithHttpsEndpoint(options ...*WithHttpsEndpointOptions) ResourceWithEndpointsParameters
options...*WithHttpsEndpointOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithHttpsEndpointOptions argument.
Port*float64An optional host port.TargetPort *float64This is the port the resource is listening on. If the endpoint is used for the container, it is the container port.Name*stringAn optional name of the endpoint. Defaults to "https" if not specified.Env*stringAn optional name of the environment variable to inject.IsProxied *boolSpecifies if the endpoint will be proxied by DCP. Defaults to null.Returns
ResourceWithEndpoints The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: