metadatafilter

package
v0.1.207 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSingletonIMetadataFilterMiddleware

func AddSingletonIMetadataFilterMiddleware(builder *di.Builder,
	alwaysAllowed map[string]bool,
	additionalByEntryPoint map[string]map[string]bool)

AddSingletonIMetadataFilterMiddleware adds service to the DI container

func AddSingletonIMetadataFilterMiddlewareNil

func AddSingletonIMetadataFilterMiddlewareNil(builder *di.Builder)

AddSingletonIMetadataFilterMiddlewareNil adds service to the DI container

Types

type EntryPointAllowedMetadataMapBuilder

type EntryPointAllowedMetadataMapBuilder struct {
	EntryPointAllowedMetadataMap map[string]map[string]bool
}

EntryPointAllowedMetadataMapBuilder struct

func NewEntryPointAllowedMetadataMapBuilder

func NewEntryPointAllowedMetadataMapBuilder() *EntryPointAllowedMetadataMapBuilder

NewEntryPointAllowedMetadataMapBuilder ...

func (*EntryPointAllowedMetadataMapBuilder) WithAllowedMetadataHeader

func (s *EntryPointAllowedMetadataMapBuilder) WithAllowedMetadataHeader(fullMethodName string, headers ...string) *EntryPointAllowedMetadataMapBuilder

WithAllowedMetadataHeader helper to add a single entrypoint config

Jump to

Keyboard shortcuts

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