fakenoderesolver

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// TrustDomain is the trust domain for SPIFFE IDs created by the attestor.
	// Defaults to "example.org" if empty.
	TrustDomain string

	// Selectors is a map from ID to a list of selector values to return with that id.
	Selectors map[string][]string
}

type NodeResolver

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

func New

func New(name string, config Config) *NodeResolver

func (*NodeResolver) Configure

func (*NodeResolver) Resolve

Jump to

Keyboard shortcuts

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