Resource.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().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: