WithTerminal
Method
func (Resource) WithTerminal(options ...*WithTerminalOptions) ResourceSignature
method
WithTerminal builderAdds an interactive terminal session to a resource with an optional callback to configure its initial dimensions.
WithTerminal(options ...*WithTerminalOptions) ResourceParameters
options...*WithTerminalOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithTerminalOptions argument.
Configurefunc(obj *TerminalOptions) callbackAn optional callback to configure the terminal options.Returns
ResourceA reference to the I for chaining additional configuration.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: