noopLegacy

package
Version: v0.0.0-...-5253b6b Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package noopLegacy is an empty adapter implementing every aspect. WARNING: Not intended for actual use. This is a stand-in adapter used in benchmarking Mixer's adapter framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(r adapter.Registrar)

Register registers the no-op adapter as every aspect.

Types

type Builder

type Builder struct{ adapter.DefaultBuilder }

Builder implements all adapter.*Builder interfaces

func (Builder) BuildAttributesGenerator

func (Builder) BuildAttributesGenerator(adapter.Env, adapter.Config) (adapter.AttributesGenerator, error)

BuildAttributesGenerator creates an adapter.AttributesGenerator instance

func (Builder) NewQuotasAspect

func (Builder) NewQuotasAspect(env adapter.Env, c adapter.Config, quotas map[string]*adapter.QuotaDefinition) (adapter.QuotasAspect, error)

NewQuotasAspect creates an adapter.QuotasAspect instance

Source Files

Jump to

Keyboard shortcuts

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