context

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 (*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{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL