namespace

package
v1.0.0-beta.83 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package namespace adds a concept of tenancy to OpenMeter allowing to segment clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler = namespace.Handler

Handler is responsible for creating a namespace in a given component.

An empty name means a default namespace is supposed to be created. The concept of a default namespace is implementation specific.

The behavior for trying to create a namespace that already exists is unspecified at the moment.

type Manager

type Manager = namespace.Manager

Manager is responsible for managing namespaces in different components.

func NewManager

func NewManager(config ManagerConfig) (*Manager, error)

type ManagerConfig

type ManagerConfig = namespace.ManagerConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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