local

package
v0.0.0-...-300c85a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package local provides the default, in-memory, filesystem-based endpoint implementation for local endpoints.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HousekeepCaches

func HousekeepCaches()

func HousekeepStaging

func HousekeepStaging()

func NewEndpoint

func NewEndpoint(
	root,
	sessionIdentifier string,
	version session.Version,
	configuration *session.Configuration,
	alpha bool,
	options ...EndpointOption,
) (session.Endpoint, error)

Types

type EndpointOption

type EndpointOption interface {
	// contains filtered or unexported methods
}

func WithCachePathCallback

func WithCachePathCallback(callback func(string, bool) (string, error)) EndpointOption

func WithStagingRootCallback

func WithStagingRootCallback(callback func(string, bool) (string, error)) EndpointOption

func WithWatchingMechanism

func WithWatchingMechanism(callback func(context.Context, string, chan<- struct{})) EndpointOption

Jump to

Keyboard shortcuts

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