lookup

package
v0.15.18 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: Apache-2.0 Imports: 3 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryResourceLookup added in v0.15.0

type MemoryResourceLookup struct {
	Content map[string][]byte
}

func (*MemoryResourceLookup) Lookup added in v0.15.0

func (m *MemoryResourceLookup) Lookup(file, relativeTo string) ([]byte, string, error)

type ResourceLookup added in v0.15.0

type ResourceLookup interface {
	Lookup(file, relativeTo string) ([]byte, string, error)
}

ResourceLookup defines methods to provides file loading.

type ServerResourceLookup added in v0.15.0

type ServerResourceLookup interface {
	Service(name string) (*client.Service, error)
	Container(name string) (*client.Container, error)
	Cert(name string) (*client.Certificate, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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