Documentation ¶
Index ¶
- type ProvisionerContext
- func (p *ProvisionerContext) Context() context.Context
- func (p *ProvisionerContext) DisableLogs()
- func (p *ProvisionerContext) EnableLogs()
- func (p *ProvisionerContext) LogDebug(format string, words ...interface{})
- func (p *ProvisionerContext) LogError(format string, words ...interface{})
- func (p *ProvisionerContext) LogInfo(format string, words ...interface{})
- func (p *ProvisionerContext) LogTrace(format string, words ...interface{})
- func (p *ProvisionerContext) Logger() *logger.LoggerService
- func (p *ProvisionerContext) RequestId() string
- func (p *ProvisionerContext) SetContext(ctx context.Context)
- func (p *ProvisionerContext) SetRequestId(id string)
- func (p *ProvisionerContext) WithValue(key string, value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProvisionerContext ¶
type ProvisionerContext struct {
// contains filtered or unexported fields
}
func Get ¶
func Get() *ProvisionerContext
func New ¶
func New() *ProvisionerContext
func NewWithContext ¶
func NewWithContext(ctx context.Context) *ProvisionerContext
func (*ProvisionerContext) Context ¶
func (p *ProvisionerContext) Context() context.Context
func (*ProvisionerContext) DisableLogs ¶
func (p *ProvisionerContext) DisableLogs()
func (*ProvisionerContext) EnableLogs ¶
func (p *ProvisionerContext) EnableLogs()
func (*ProvisionerContext) LogDebug ¶
func (p *ProvisionerContext) LogDebug(format string, words ...interface{})
func (*ProvisionerContext) LogError ¶
func (p *ProvisionerContext) LogError(format string, words ...interface{})
func (*ProvisionerContext) LogInfo ¶
func (p *ProvisionerContext) LogInfo(format string, words ...interface{})
func (*ProvisionerContext) LogTrace ¶
func (p *ProvisionerContext) LogTrace(format string, words ...interface{})
func (*ProvisionerContext) Logger ¶
func (p *ProvisionerContext) Logger() *logger.LoggerService
func (*ProvisionerContext) RequestId ¶
func (p *ProvisionerContext) RequestId() string
func (*ProvisionerContext) SetContext ¶
func (p *ProvisionerContext) SetContext(ctx context.Context)
func (*ProvisionerContext) SetRequestId ¶
func (p *ProvisionerContext) SetRequestId(id string)
func (*ProvisionerContext) WithValue ¶
func (p *ProvisionerContext) WithValue(key string, value interface{})
Click to show internal directories.
Click to hide internal directories.