Documentation ¶
Index ¶
- type Context
- func (ctx *Context) Debugf(format string, args ...interface{})
- func (ctx *Context) GetEnvValueFromCache(env types.EnvVar) (string, error)
- func (ctx *Context) HydrateConnectionByURL(connectionName string) (*models.Connection, error)
- 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) Tracef(format string, args ...interface{})
- 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 Kubernetes kubernetes.Interface Kommons *kommons.Client Namespace string Canary v1.Canary Environment map[string]interface{} logger.Logger // contains filtered or unexported fields }
func (*Context) GetEnvValueFromCache ¶ added in v0.38.286
func (*Context) HydrateConnectionByURL ¶ added in v0.38.276
func (ctx *Context) HydrateConnectionByURL(connectionName string) (*models.Connection, error)
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 Kubernetes kubernetes.Interface Namespace string Environment map[string]interface{} logger.Logger }
func NewKubernetesContext ¶ added in v0.38.85
func NewKubernetesContext(client *kommons.Client, kubernetes kubernetes.Interface, 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.