AddJavaContainer
Method
func (DistributedApplicationBuilder) AddJavaContainer( name string, image string, options ...*AddJavaContainerOptions,) JavaContainerResourceSignature
method
AddJavaContainer builderAdds a Java application that runs from an existing container image.
AddJavaContainer( name string, image string, options ...*AddJavaContainerOptions,) JavaContainerResourceParameters
namestringThe name of the resource.imagestringThe container image that runs the application, for example mycompany/catalog .options...*AddJavaContainerOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddJavaContainerOptions argument.
Tag*stringThe image tag. Defaults to the image's latest tag.Returns
JavaContainerResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder