Documentation ¶
Index ¶
- type Context
- func (ctx *Context) IsDebug() bool
- func (ctx *Context) IsTrace() bool
- func (ctx *Context) New(environment map[string]interface{}) *Context
- func (ctx *Context) String() string
- func (ctx *Context) WithDeadline(deadline time.Time) (*Context, gocontext.CancelFunc)
- func (ctx *Context) WithTimeout(timeout time.Duration) (*Context, gocontext.CancelFunc)
- type KubernetesContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { gocontext.Context Kommons *kommons.Client Namespace string Canary v1.Canary Environment map[string]interface{} logger.Logger }
func (*Context) WithDeadline ¶ added in v0.38.21
func (*Context) WithTimeout ¶ added in v0.38.21
type KubernetesContext ¶ added in v0.38.85
type KubernetesContext struct { gocontext.Context Kommons *kommons.Client Namespace string Environment map[string]interface{} logger.Logger }
func NewKubernetesContext ¶ added in v0.38.85
func NewKubernetesContext(client *kommons.Client, namespace string) *KubernetesContext
func (*KubernetesContext) Clone ¶ added in v0.38.85
func (ctx *KubernetesContext) Clone() *KubernetesContext
Click to show internal directories.
Click to hide internal directories.