v1

package
v1.0.0-beta.87 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeletedStatus = "deleted"
)
View Source
const (
	NamespaceMetadataType = "namespace"
)
View Source
const (
	UserMetadataType = "user"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentType

type ContentType string

type Datadog

type Datadog struct {
	Tenants *metadata.TenantManager
	Datadog *metrics.Datadog
}

func (*Datadog) QueryQuotaUsage

func (dd *Datadog) QueryQuotaUsage(ctx context.Context, _ *api.QuotaUsageRequest) (*api.QuotaUsageResponse, error)

type DefaultNamespaceMetadataProvider

type DefaultNamespaceMetadataProvider struct {
	// contains filtered or unexported fields
}

func (*DefaultNamespaceMetadataProvider) DeleteNamespace

func (a *DefaultNamespaceMetadataProvider) DeleteNamespace(ctx context.Context, tx transaction.Tx, namespaceId uint32) error

func (*DefaultNamespaceMetadataProvider) GetNamespaceMetadata

func (*DefaultNamespaceMetadataProvider) InsertNamespaceMetadata

func (*DefaultNamespaceMetadataProvider) UpdateNamespaceMetadata

type DefaultUserMetadataProvider

type DefaultUserMetadataProvider struct {
	// contains filtered or unexported fields
}

func (*DefaultUserMetadataProvider) GetUserMetadata

func (*DefaultUserMetadataProvider) InsertUserMetadata

func (*DefaultUserMetadataProvider) UpdateUserMetadata

type NamespaceMetadataProvider

type NamespaceMetadataProvider interface {
	GetNamespaceMetadata(ctx context.Context, req *api.GetNamespaceMetadataRequest) (*api.GetNamespaceMetadataResponse, error)
	InsertNamespaceMetadata(ctx context.Context, req *api.InsertNamespaceMetadataRequest) (*api.InsertNamespaceMetadataResponse, error)
	UpdateNamespaceMetadata(ctx context.Context, req *api.UpdateNamespaceMetadataRequest) (*api.UpdateNamespaceMetadataResponse, error)
	DeleteNamespace(ctx context.Context, tx transaction.Tx, namespaceId uint32) error
}

type Service

type Service interface {
	RegisterHTTP(router chi.Router, inproc *inprocgrpc.Channel) error
	RegisterGRPC(grpc *grpc.Server) error
}

func GetRegisteredServices

func GetRegisteredServices(kvStore kv.TxStore, searchStore search.Store, tenantMgr *metadata.TenantManager, txMgr *transaction.Manager, forSearchTxMgr *transaction.Manager, bProvider billing.Provider) []Service

func GetRegisteredServicesRealtime

func GetRegisteredServicesRealtime(kvStore kv.TxStore, searchStore search.Store, tenantMgr *metadata.TenantManager, txMgr *transaction.Manager) []Service

type UserMetadataProvider

type UserMetadataProvider interface {
	GetUserMetadata(ctx context.Context, req *api.GetUserMetadataRequest) (*api.GetUserMetadataResponse, error)
	InsertUserMetadata(ctx context.Context, req *api.InsertUserMetadataRequest) (*api.InsertUserMetadataResponse, error)
	UpdateUserMetadata(ctx context.Context, req *api.UpdateUserMetadataRequest) (*api.UpdateUserMetadataResponse, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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