Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUsernamePasswordRequired = errors.New("username and password are required")
Functions ¶
Types ¶
type LogRedirector ¶
type LogRedirector struct {
// contains filtered or unexported fields
}
LogRedirector creates a new redirection writer that takes as input plugin stderr output, and routes it to the correct Pulumi stream based on the standard Terraform logging output prefixes.
func NewLogRedirector ¶
func NewLogRedirector(ctx context.Context, hostClient *provider.HostClient) *LogRedirector
NewLogRedirector returns a new LogRedirector with the (unexported) writers field set to the given map.
func (*LogRedirector) Disable ¶
func (lr *LogRedirector) Disable()
Disable disables most of the specific logging levels, but it retains debug logging.
func (*LogRedirector) Enable ¶
func (lr *LogRedirector) Enable()
Enable turns on full featured logging. This is the default.
Click to show internal directories.
Click to hide internal directories.