fs

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

Registry is a pointer registry for olympus server event logs

func NewRegistry

func NewRegistry(rootDir string, filesystem afero.Fs) *Registry

NewRegistry returns a file based implementation of a pointer registry

func (*Registry) LookupPointer

func (r *Registry) LookupPointer(deploymentID string) (string, error)

LookupPointer returns the pointer to the given deployment's event log

func (*Registry) SetPointer

func (r *Registry) SetPointer(deploymentID, pointer string) error

SetPointer both sets and updates the deployment's event log pointer

Jump to

Keyboard shortcuts

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