utility

package
v0.0.0-...-97ee9c9 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

FIXME: golangci-lint nolint:revive

FIXME: golangci-lint nolint:revive

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithLogger

func ContextWithLogger(ctx context.Context, logger log.FieldLogger) context.Context

ContextWithLogger adds a logger to the context

func EnforceEdgeGroups

func EnforceEdgeGroups(orgID string) bool

EnforceEdgeGroups returns if the organization is enforced to use edge groups

func GetLoggerFromContext

func GetLoggerFromContext(ctx context.Context) log.FieldLogger

GetLoggerFromContext grabs the cumulative logger from the context

Types

type PayloadTypeAssertionError

type PayloadTypeAssertionError struct{}

PayloadTypeAssertionError indicates the image name is not defined

func (*PayloadTypeAssertionError) Error

func (e *PayloadTypeAssertionError) Error() string

Jump to

Keyboard shortcuts

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